Problem with first letter colour

Home Forums All Other Themes Problem with first letter colour

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #57880
    Chris
    Member
    • Topics: 1
    • Replies: 5
    • Total: 6
    Member since: December 29, 2016

    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: http://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.

    #57883
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 23385
    • Total: 23385
    Member since: August 16, 2013

    Hi 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,
    Brad

    #57888
    Chris
    Member
    • Topics: 1
    • Replies: 5
    • Total: 6
    Member since: December 29, 2016

    Just 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?

    #57890
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 23385
    • Total: 23385
    Member since: August 16, 2013

    Kindly 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,
    Brad

    #57913
    Chris
    Member
    • Topics: 1
    • Replies: 5
    • Total: 6
    Member since: December 29, 2016

    Message sent Brad.

    #57992
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 23385
    • Total: 23385
    Member since: August 16, 2013

    Hi Chris,

    This issue was resolved from our end. Kindly check and confirm.

    Regards,
    Brad

    #58047
    Chris
    Member
    • Topics: 1
    • Replies: 5
    • Total: 6
    Member since: December 29, 2016

    Hi 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’?

    #58062
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 23385
    • Total: 23385
    Member since: August 16, 2013

    Hi Chris,

    Can you send us the screenshots? Upload your screenshot on imgur.com and paste the share URL here.

    Regards,
    Brad

    #58082
    Chris
    Member
    • Topics: 1
    • Replies: 5
    • Total: 6
    Member since: December 29, 2016

    Hi 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:

    View post on imgur.com

    #58086
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 23385
    • Total: 23385
    Member since: August 16, 2013

    Issue resolved. Kindly check and confirm.

    Regards,
    Brad

    #58088
    Chris
    Member
    • Topics: 1
    • Replies: 5
    • Total: 6
    Member since: December 29, 2016

    Thanks 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?

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.