• Hi,
    I want to change the font color #e7e7e7 into another color on every page (i’ve used this html code).
    What css code do I need to change this font color in all postst and pages?
    Thanks in advance!
    Apestaartje

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hey
    After inspecting your website I found that you have done an inline style.
    I suggest you to give it ( to HTML code) a class and then define a color to that class in style.css. and use that class whenever you need to write the same.

    Thread Starter apestaartje

    (@apestaartje)

    Hey Naveen,
    Thanks, but how I should do this? ??
    Apestaartje

    Hey
    https://ibb.co/fY6Gsf the text I circle have HTML code writing below

    <p style="text-align: left;">
      <span style="color: #e7e7e7; font-size: 32px;">
         <span style="font-size: 32pt;">
            Nieuwe kijk op klassiek genre
         </span>
      <br> 
      </span>
    </p>

    and I guess this is the only element which have

    color: #e7e7e7

    CSS proprty.

    Solution:
    Open your Style.css and add a new class like

    .change-color : {
       color: #0073aa!important;
    }

    and save now whenever you need to change the color of any text to #0073aa then switch your Visual Editor to Code Editor and add the class, for example, I want to give the same color to paragraph then I will do like this

    <p class="change-color">The goal of this new editor is to make adding rich content to WordPress simple and enjoyable.</p>

    .
    Hope I am able to help you what you want ??

    Thread Starter apestaartje

    (@apestaartje)

    Hi, I’m afraid it doesn’t work.
    Can i remove ALL inline style at once? ??

    Yeah, but if you remove the inline styles then WordPress will give it the default style so you have to add class to get your solution.

    Thread Starter apestaartje

    (@apestaartje)

    I understand. I want to try the default. Do you have the code tot remove inline (color) style? ??

    Open the page in Editor and switch your editor to code editor and remove/delete the inline styles ??

    Thread Starter apestaartje

    (@apestaartje)

    Hahaha, I want to remove it from all pages at once, not all my pages one at the time ??

    haha! Sorry so just remove that inline style.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘change color font whole website’ is closed to new replies.