Sidebar Menu Color change

Discussion in 'Elite Pro WordPress Theme' started by spoonboy90, Aug 12, 2013.

Thread Status:
Not open for further replies.
  1. spoonboy90

    spoonboy90 Active Member

    Joined:
    Dec 20, 2012
    Messages:
    289
    Likes Received:
    28
    Location:
    Stoke-on-Trent, Staffordshire. UK
    I'm trying to change the text colour of a custom sidebar menu using custom CSS but don't seem to be having much luck, some assitance would be appreciated.

    Thanks



     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Paste the following code in your Custom CSS
    (Appearance -> Theme Options -> Styling Options -> Custom CSS)

    Code:
    .sidebar h4 {
    color: red;
    }
    .sidebar ul li a {
    color: red;
    }
    .sidebar ul li a:hover {
    color: orange;
    }
    Inplace of "red" and "orange" you can put your color or color code.
    This will solve your issue.
     
  3. spoonboy90

    spoonboy90 Active Member

    Joined:
    Dec 20, 2012
    Messages:
    289
    Likes Received:
    28
    Location:
    Stoke-on-Trent, Staffordshire. UK
    Thanks Piyush, I'm using custom CSS to style the menu items and I only want the active link to be red, all the CSS is working apart from the text 'color'.

    I've tried 'color: red;' and 'colour:red!important;' in my custom CSS also but nothing is overriding the original CSS.

    Any ideas
     
  4. spoonboy90

    spoonboy90 Active Member

    Joined:
    Dec 20, 2012
    Messages:
    289
    Likes Received:
    28
    Location:
    Stoke-on-Trent, Staffordshire. UK
  5. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    Paste the following code in your Custom CSS
    (Appearance -> Theme Options -> Styling Options -> Custom CSS)
    Code:
    .sidebar li.current-menu-item a, .sidebar li.current_page_item a{
    color: green !important;
    }
    
    Inplace of "green" you can put your color or color code.
     
  6. spoonboy90

    spoonboy90 Active Member

    Joined:
    Dec 20, 2012
    Messages:
    289
    Likes Received:
    28
    Location:
    Stoke-on-Trent, Staffordshire. UK
    Thats spot on Piyush thanks
     
Thread Status:
Not open for further replies.

Share This Page