WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Changing Page Title Background (5 posts)

  1. timedriven
    Member
    Posted 1 year ago #

    Hi all,

    I need some help with changing the background color of my Page Titles. I inspected the element on the page and it says that it is div#category-name. I am using Chameleon Theme by elegant themes. I believe this is the code I need to change:

    #category-name { text-align: center; width: 890px; margin: 0 auto; padding-top:38px; background: url(images/top-category-bg.png) no-repeat; }

    but I have been unsuccessful in getting it done. I just want to change to a solid color. I have created a banner.jpg file that is the color I want, though if there is an easier way to do it please let me know.

    Thank you in advance for your help!

    ~Josh

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    try !important

  3. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    please contact elegantthemes for support with their commercial theme.

    commercial themes are not supported by this forum, as getting support by the theme's seller is part of what you pay for.

    generally, with fundamental formatting problems - if you don't find the solution yourself with the help of a browser tool such as Firebug http://getfirebug.com/ - you would need to post a link to the problem site to get any useful suggestions.

  4. timedriven
    Member
    Posted 1 year ago #

    Ok, I thought that coding is coding, regardless of what theme. Anyway I figured it out by trial and error. Solution is to change this:

    #category-name { text-align: center; width: 890px; margin: 0 auto; padding-top:38px; background: url(images/top-category-bg.png) no-repeat; }

    To this:

    #category-name { text-align: center; width: 890px; margin: 0 auto; padding-top:38px; background: url(images/top-category-bg.png) no-repeat #000000; }

    Yup. Thanks anyway.

  5. timedriven
    Member
    Posted 1 year ago #

    Not sure why you would try to send me on the run-around rather than suggestiong this simple addition to the code.

Topic Closed

This topic has been closed to new replies.

About this Topic