Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2017-01-30 22:12:50

mshandmeh
Member
From: England
Registered: 2013-11-25
Posts: 39
Website

Wordpress custom css

I am looking for a way to change the blog title font colour and size. There are WP plugins that are supposed to enable this. There is  "Title Color"  that provides a colour picker in the post edit screen - this works for the full post title but not the truncated list of posts on the blog page. It has to be implemented post by post and so is not much good if you want to change old posts to a new format.

Then there is "Simple Custom CSS" that provides a css you can edit from within WP and is supposed to complement your selected WP theme which in my case is the Backlight Theme. When installed you get access to this via Appearance>>Custom CSS which give the WP css file to edit. I guess this is a child theme?

I tried

.entry-title a {
    font-size:20px;
}

in the Simple Custom CSS generated css,  but it didn't work. I varied the font size but no observable difference.

So  - should "Simple Custom CSS" work in principle in harmony with Backlight but I just messed up somewhere?  Or am I barking up the wrong tree entirely and should I do this using the normal BL custom css? Or is there some other way? Do child themes work with BL WP theme?

I am a bit of a novice at this and am blundering around in a field I know 'not alot' about - good way to learn, though!

Thanks for any help,

Mike

Offline

#2 2017-01-30 22:22:18

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Wordpress custom css

Just to be clear, you want to style the post titles on the main blog page?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2017-01-30 22:40:30

mshandmeh
Member
From: England
Registered: 2013-11-25
Posts: 39
Website

Re: Wordpress custom css

Yes, the post titles on the main blog page, and also the individual posts.

The advantage of child themes would seem to be that you could do other things too. I was seeing the blog titles as a simple starting point for further adventures!

Mike

Offline

#4 2017-01-30 23:23:30

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Wordpress custom css

Child themes work with Backlight themes like any other child theme (I'm using a child theme on my test site)

The selector for the post tltle in a post is: h1.post-title

the selector for the post title on the blog page is: h1.post-title a

I like placing my WordPress css with the rest of my Backlight css, just to keep it all together. But you could also add it via the "Additional css" section of the WordPress Customizer.
Or you could also add it to a child-theme's css


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2017-01-30 23:42:41

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Wordpress custom css


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#6 2017-01-31 00:13:04

mshandmeh
Member
From: England
Registered: 2013-11-25
Posts: 39
Website

Re: Wordpress custom css

Thanks Rod,

That's worked perfectly.

Mike

Offline

Board footer

Powered by FluxBB