Jump to content
jannon

Sub Menu Style

Recommended Posts

jannon    0
jannon

Hi

I'm not sure if this is a Crackbar or PageLines problem. I just installed Crackbar and everything was fine. Then I added a page and put this as a sub menu item under "Member Directory" but the background on this has defaulted to the navbar blue. How can I fix this?

The URL is http://www.whidbeylifemagazine.org

then click on Member Directory.

thanks

Share this post


Link to post
Share on other sites
catrina    103
catrina

You’ll need to use Custom CSS (in Site Options > Custom Code > Custom CSS). The style of a page element consists of two parts: the selector and the attribute.

Selector: Used to select the page element you want to change (in this case, the page element you want to change is your selected submenu item color).

Attribute: Property that determines what kind of change you want (you’re changing the background color, so the attribute you want to use is background-color).

To find the selector for the selected submenu item, you'll need to use Firebug (or Chrome Development tools). To learn how to use Firebug for CSS customizations, please read and follow these instructions: http://www.pagelines.com/wiki/Custom_CSS.

For help with the background-color attribute, please see these instructions: http://w3schools.com/css/css_background.asp


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
jannon    0
jannon

Yes, currently I have the following because I was having problem with the regular navbar (I wanted a light yellow for background on hover). But now I want the settings in cracker. So I changed the background-color to none and then I got the default navbar blue but only on this one submenu item. So how do I get it to use the crackbar setting for the hover highlight? And how come it works for all the other submenu items but not this one?

.dropdown-menu li > a:hover, .dropdown-menu li > a:focus, .dropdown-submenu:hover > a, .dropdown-menu li.current-menu-item > a {

background-color: none;

color: #000000;

background-image: none;

background-repeat: repeat-x;

}

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there, as Crackbar is a premium plugin we'll need you to refer your question to the developer here http://www.pagelines.com/store/sections/crackbar/

If you could post a question in the livefyre comments the developer will answer you through there :)


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
benz_admin    0
benz_admin

Hi Jannon,

here is the css code for your customizations:

 

.navbar .navline > li > a:hover {
    background-color: rgba(255,255,0,0.1);
}

 

Let me know if it works!

Bye

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×