WordPress.org

Ready to get started?Download WordPress

Forums

Background Color CSS (2 posts)

  1. bij7g22@gmail.com
    Member
    Posted 1 year ago #

    Hello WP community,

    I am relatively new to the WordPress world and would like to know if anyone can help me with my site. I have installed the Rockefeller theme. Basically I am looking to change the background of some of the pages. Whenever I do this via dashboard or in the stylesheet it does not show on the site. For example, I added red just to see if it would work and it only shows up at the bottom of some of the pages. I have seen the code for !important and other override codes but I cannot figure out how to get it to work. Please let me know if you can hellp. My site is:

    http://www.bmenbusiness.com

  2. W.P. Ginfo
    Member
    Posted 1 year ago #

    Hi

    To control the looks of individual pages is slightly more complicated than controlling things for the entire site.
    Fortunately a plugin can help.

    1. Make a backup of your site
    2. make changes to a childtheme, not the original theme
    3. install and activate the 'SuperSlider-Perpost-Code'-plugin
    4. This creates extra fields under the editing page, called custom CSS and custm JS.

    5. open the page you want to edit the backgroundcolor of
    6. add the following code in the 'custom CSS-field'
    7. .container{
             background-color:#99cc66;}/* alter the color-code to your liking */
    8. save the changes

    To find out more about colorcodes:
    e.g. http://www.colorpicker.com

Topic Closed

This topic has been closed to new replies.

About this Topic