custom css

Viewing 4 posts - 1 through 4 (of 4 total)
  • #4445
    Madchatthew
    Participant

    Hello and thanks for the help in advance. I want to change the background color of the current page I am on in the nav bar. Currently is it black. I enter the following into the custom css and it doesn’t change. *Note: I left out the extra code for that id since I am just wanting to change the background color of it.

    #access li.current_page_item > a { background:#336; }

    I can go into the styles.css file and change it to this and it works.

    #access li.current_page_item > a { background-color:#333366; }

    I have also tried to do that in the customm css but it doesn’t change it.

    Thanks again for the help.

    Madchatthew

    #4450
    Daniel Tara
    Keymaster

    The custom css has some limitations. It encodes > characters into > and that’s why your rule isn’t working. I can’t cancel this limitation without opening XSS vulnerabilities.

    #4454
    Madchatthew
    Participant

    Ok, sounds good. Thanks for your response.

    #4456
    Madchatthew
    Participant

    I experimented with changing the colors of the nav bar by editing style.css directly. The result gave me what I wanted when viewing with IE9, but the changes were not picked up by firefox or google chrome.

    The theme as installed out of the box, displays “search this website…” in the search box in the nav bar in firefox and google chrome but does not display in IE9.

    I was wondering why changes made directly to style.css do not appear the same way in all three browsers?

    Thanks again for your time,

    Madchatthew

Viewing 4 posts - 1 through 4 (of 4 total)

Tagged: 

You must be logged in to reply to this topic.