Jump to content
Sign in to follow this  
drmark

dropdown menua too wide after 1.3.1 upgrade

Recommended Posts

drmark

The dropdown menu is much to wide after installing the 1.3.1 upgrade. Hitting the 'Save Options' button in Platform Pro Settings had no effect (as advised in another post). I installed the upgrade via ftp. I do not have expertise in php code. Also, is there a way I can change the background color of a current menu selection? Thanks, Mark

Share this post


Link to post
Share on other sites
cmunns

okay. Do you have a link to your site?

Share this post


Link to post
Share on other sites
catrina

To change the color of a current menu selection, add this CSS:

ul.main-nav li.current_page_item a {background-color: #XXXXXX;}

Replace XXXXXX with the color of your choice. As for the width of the submenus, have you made any other changes to any CSS?


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
drmark

Thanks for that code Catrina. As for the submenus, I have made additions to my Base.css file. However, as a test I removed all of my custom code temporarily, updated the base.css and then saved the PlatformPro Settings. However, the submenu width remained unchanged.

Share this post


Link to post
Share on other sites
Andrew

So I'm showing that your dynamic.css still has a rule that is causing the issue. Saving the settings once should fix this for you, if that doesn't work; try making the dynamic css inline (a feature added in 1.3.2 Are your other dynamic css rules working for you?

Share this post


Link to post
Share on other sites
drmark

Simply saving the settings does not work. When I selected "Make Dynamic CSS Inline" in Settings and saved it made no difference. Sorry, I don't know what you mean by "dynamic css rules". Is that the custom code that I put into base.css?

Share this post


Link to post
Share on other sites
catrina

The dynamic css rules is the CSS in the dynamic.css file (which is located in the theme folder).


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
drmark

I found the dynamic.css file. Even though I don't know much about code I found a line that read: #primary-nav ul{width:740px} So, I put this into my base.css: #primary-nav ul{width:270px} This worked. Now I don't have to worry about the change being lost by future updates. Is that correct?

Share this post


Link to post
Share on other sites
timlinson

Yep, your base files are separated from the PlatformPro framekwork :)

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

Sign in to follow this  

×