Support » Fixing WordPress » Changing Page Title Background

  • Resolved timedriven

    (@timedriven)


    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    try !important

    Michael

    (@alchymyth)

    Forum Moderator

    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.

    timedriven

    (@timedriven)

    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.

    timedriven

    (@timedriven)

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Changing Page Title Background’ is closed to new replies.