Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #769296

    Hi there

    I have just entered a Code Block into my Enfold theme. On the desktop the text <H2> is coming up as white (which is what I want) but when I view the same page on a mobile device the H2 text is coming up as black (the default colour). Can you please advise why that would be the case and how do I fix it .

    Regards

    #769297

    Hey smite_74,

    I`ve accessed your site and the H2 title is black instead white, maybe it can be a cache problem, clear your cache and test again.

    To change your title color, add the custom CSS code below at Enfold Theme Options > General Styling > Quick CSS

    
    .avia_codeblock h2 {
      color: #fff !important;
    }
    

    Best regards,
    John Torvik

    #769332

    Hi John

    Thanks for the quick response.
    Re: the CSS code you’ve given me …will that change the colour of the H2 tag throughout my entire site?

    Also, the <p> text below the H2 tag should also be #fff as well ….can you please provide the CSS code for that as well.

    Regards
    Des

    #769386

    Hi,

    I`ve checked your site and the is white too. About your question, you can enable the custom CSS class following this tutorial kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and create an custom CSS class to the H2 and P tag (for example, you created a custom class called “myCustomTitle”), the custom code will be like this:

    
    .myCustomTitle {
    color: #fff !important;
    }
    

    Best regards,
    John Torvik

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