close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PowerStore 4.5 Changing the sub menu width

Thread began 3/21/2012 11:38 am by admin140217 | Last modified 3/26/2012 4:53 pm by Jason Byrnes | 1258 views | 9 replies |

admin140217

PowerStore 4.5 Changing the sub menu width

I am trying to change the submenu width to accommodate the longer product categories but can't seem to find where to do this, the menu is too narrow.

Is there a simple way to do it that I'm missing?

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

change the level 1 submenu to 200px wide by editing the webassist/plugins/main_menu/menu.php file. add the following styles:


ul#cssmw > li > ul.level-1 > li > a {
width:200px;
}

ul#cssmw > li > ul.level-1 > li > ul.level-2 {
left:60px;
}
Sign in to reply to this post

admin140217

looks much better

This worked great Jason, looks a lot better but I need to apply this to the sub menu level 2 (the sub menu off the level 1 sub menu) too, btu I don't see where that is.

Any pointers for that?

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

add another selector:
ul#cssmw > li > ul.level-1 > li > a li > ul.level-2 {
width:200px;
}

Sign in to reply to this post

admin140217

Jason,

adding another selector doesn't seem to do anything to the sub-menu. It stays the same.

Sign in to reply to this post

Jason ByrnesWebAssist

not enough coffee, I had a syntax error.

the selector name:

ul#cssmw > li > ul.level-1 > li > a li > ul.level-2 {


should be:
ul#cssmw > li > ul.level-1 > li > a > li > ul.level-2 > li > a {

Sign in to reply to this post

admin140217

That doesn't seem to work either!

Is it possible another selector is interfering?

Sign in to reply to this post

Jason ByrnesWebAssist

I guess this is one of times where it's better to just do it in a test site than think you can write it on the fly, coffee or not.


here is full tested level 1, 2, and 3 width change css:

ul#cssmw > li > ul.level-1 > li > a {
width:200px;
}

ul#cssmw > li > ul.level-1 > li > ul.level-2 {
left:60px;
}

ul#cssmw > li > ul.level-1 > li > ul.level-2 > li > a {
width:200px;
}

ul#cssmw > li > ul.level-1 > li > ul.level-2 > li > ul.level-2 {
left:60px;
}

ul#cssmw > li > ul.level-1 > li > ul.level-2 > li > ul.level-2 > li > a {
width: 200px;
}
Sign in to reply to this post

admin140217

That did it Jason, Thanks a bunch!

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...