WordPress.org

Ready to get started?Download WordPress

Forums

GamePress
Font color (7 posts)

  1. realb
    Member
    Posted 1 year ago #

    Hello,

    I would to change the font color in paragraph. I try to incert this in css :
    p {
    margin: 12px 0;
    color: #FFF;
    }

    but the color don't change

    Help need

    Thanks

    http://wordpress.org/extend/themes/gamepress/

  2. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    Where are you inserting that CSS?

  3. realb
    Member
    Posted 1 year ago #

    in THEME/GAMEPRESS/style.css

  4. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    Try using a browser developer tool for this kind of exploratory CSS work.
    I use Google Chrome's built-in Developer Tool and it is really easy to expose the webpage's underlying HTML and CSS.

    Now that you know the style, from being exposed by the Developer Tool, you can add a new style to override it.

    You ought to add new styles externally, not within the theme's files. Changes to the theme's files will compromise the theme and be compromised when the theme updates.

    External changes can be made using a Child Theme or through a plugin that provides Custom CSS functionality.

    I recommend using the Jetpack plugin and its Custom CSS functionality to hold your CSS modifications.

  5. realb
    Member
    Posted 1 year ago #

    The website is : http://vertozone.com/?page_id=18 .

    In developper tool, I see the paragraph color :color: #000000;, but I don't say where I can change it to color: #FFFFFF;

  6. Andrew Nevins
    Barrel Rider, Spam Zapper & Volunteer Moderator
    Posted 1 year ago #

    You'll have to write a new style to change its colour, rather than modify an existing style.

  7. realb
    Member
    Posted 1 year ago #

    ok

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags