close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Navigation menu widths

Thread began 10/30/2011 7:11 am by john70964 | Last modified 5/27/2014 11:08 am by Jason Byrnes | 864 views | 3 replies |

john70964

Navigation menu widths

I am using Site Sculptor to create a small CMS website and am very impressed with what I have seen so far.

I would like to be able to reduce the size of the width taken by the Navigation menu items.

I think they must be set to a default width by the wizard.

Is there a method to reduce:

a: All widths
b: Individual widths

Sign in to reply to this post

Jason ByrnesWebAssist

a: for the index page menu, in the CSSMenuWriter/cssmw_home/menu.css change the width in the ul#cssmw_home > li > a, ul#cssmw_home > li > a:link selector.

for the other pages, in the CSSMenuWriter/cssmw_content/menu.css, change the width for the ul#cssmw_content > li > a, ul#cssmw_content > li > a:link selector.


b: To change the widths individually, edit the CSSMenuWriter/cssmw_home/menu.php and CSSMenuWriter/cssmw_content/menu.php files, add an inline style for the width to the anchor tags, for example:

php:
<li><a href="<?php echo($assumedRoot); ?>index.php" style="width:80px;">Home Page</a></li>
Sign in to reply to this post

john70964

Thanks for the information on navigation menu widths. Works completely.

I have saved your code as a snippet so its easy to recover in future.
Regards

John

Sign in to reply to this post

Jason ByrnesWebAssist

use a Colon instead of Semi colon between width and the measure:

<li><a href="../index.php" style="width:10px;">Home</a></li>

Sign in to reply to this post

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...