Home › Forums › All Other Themes › Problem with first letter colour
- This topic has 10 replies, 2 voices, and was last updated 7 years, 11 months ago by Chris.
-
AuthorPosts
-
January 9, 2017 at 11:54 am #57880
I am having a problem with the first letter colours on my site. I need to set the site header first letter colour as white, but this affects page and post titles and makes them invisible on a white background. How can I solve this?
I found an old post on this subject suggesting some custom css but it didn’t work for me.
Site is here: www.cvrp.co.uk – you can see that the site title looks good but that first letters of all post and page titles have disappeared.
Apolgies – posted on wrong forum – theme is Gravida.
January 9, 2017 at 12:21 pm #57883Hi Chris,
Kindly go to Appearance>>Customize>>Basic>>Custom CSS Box
Add this code there:
h1.postitle::first-letter, .single_post_content h1::first-letter, h2.postitle::first-letter{color:#494949 !important;}
Regards,
BradJanuary 9, 2017 at 12:29 pm #57888Just done that Brad – Doesn’t work for me.
The whole font/typography thing is pretty complex. It seems that post and page titles are both h1, but pages have a different class. This means that post and page titles show as different font: On posts it uses the default ‘Oswald’ font, but on pages it inherits the ‘Josefin Sans’ font used for the site title – very confusing.
Could I send you a pm so you can log in and take a look for me?
January 9, 2017 at 12:31 pm #57890Kindly send us your URL of the site and WordPress admin details via sktthemes.net/contact
Please mention this forum URL while replying so that we understand what needs to be done.
Regards,
BradJanuary 9, 2017 at 2:29 pm #57913Message sent Brad.
January 10, 2017 at 5:45 am #57992Hi Chris,
This issue was resolved from our end. Kindly check and confirm.
Regards,
BradJanuary 10, 2017 at 9:22 am #58047Hi Brad – Thanks for that.
Strangely, the header appears white in all browsers, but there are some anomalies with the page/post titles. In Chrome they appear a shade of green, but in Safari they appear black.
One more question – I can’t find a way to set the same font for the page and post titles. You’ll see that they are different at the moment. Do they not both take the font specified in ‘h1’?
January 10, 2017 at 10:09 am #58062Hi Chris,
Can you send us the screenshots? Upload your screenshot on imgur.com and paste the share URL here.
Regards,
BradJanuary 10, 2017 at 11:07 am #58082Hi Brad – The colour issue has fixed itself. I think it was a cache issue – my apologies.
The font is still different for posts and pages though – screenshots:
http://imgur.com/a/PyK2L
January 10, 2017 at 11:48 am #58086Issue resolved. Kindly check and confirm.
Regards,
BradJanuary 10, 2017 at 11:51 am #58088Thanks for that Brad – Much appreciated. Was the issue something I need to look out for when making changes to the fonts in future if I need to?
-
AuthorPosts
- You must be logged in to reply to this topic.