Width of the navigation bar and other questions

Forums Forums Menus Width of the navigation bar and other questions

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #313
    superamon
    Member

    Hello.

    I am just testing the plugin Multi-level Navigation but i already had some problems with it.

    First of all, how can I edit the width of the navigation bar? I tried some parameters in the CSS code but nothing happened.

    Like I said before, I am just testing the plugin, but why does the bar seem so bad configured in my test page (http://www.chuckportugal.t1.trafegonacional.com/)?

    #3355

    Almost all problems are caused by clashes with existing CSS on your pages. You don’t seem to have the plugin installed anymore so I can’t see where your problem was.

    The width can be edited via the following code:
    [code:340cyofs]#suckerfishnav {width:100%;}[/code:340cyofs]

    #3356
    superamon
    Member

    It passed a month and I took off the plugin from my page. But now I have it again and you can look to it.

    http://www.chuckportugal.t1.trafegonacional.com/

    Sucker CSS:

    #suckerfishnav {
        background:#9C1F1B url("../multi-level-navigation-plugin/images/suckerfish_red.png") repeat-x;
        font-size:14px;
        font-family:helvetica,sans-serif;
        font-weight:bold;
        width:100%;
        }
    #suckerfishnav, #suckerfishnav ul {
        float:left;
        list-style:none;
        line-height:40px;
        padding:0;
        border:1px solid #aaa;
        margin:0;
        width:100%;
        }
    #suckerfishnav a {
        display:block;
        color:#FFFFFF;
        text-decoration:none;
        padding:0px 10px;
        }
    #suckerfishnav li {
        float:left;
        padding:0;
        }
    #suckerfishnav ul {
        position:absolute;
        left:-999em;
        height:auto;
        width:101px;
        font-weight:normal;
        margin:0;
        line-height:1;
        border:0;
        border-top:1px solid #666666;
        }
    #suckerfishnav li li {
        width:99px;
        border-bottom:1px solid #666666;
        border-left:1px solid #666666;
        border-right:1px solid #666666;
        font-weight:bold;
        font-family:helvetica,sans-serif;
        }
    #suckerfishnav li li a {
        padding:4px 10px;
        width:80px;
        font-size:12px;
        color:#FFFFFF;
        }
    #suckerfishnav li ul ul {
        margin:-21px 0 0 100px;
        }
    #suckerfishnav li li:hover {
        background:#9C1F1B;
        }
    #suckerfishnav li ul li:hover a, #suckerfishnav li ul li li:hover a, #suckerfishnav li ul li li li:hover a, #suckerfishnav li ul li li li:hover a {
        color:#dddddd;
        }
    #suckerfishnav li:hover a, #suckerfishnav li.sfhover a {
        color:#dddddd;
        }
    #suckerfishnav li:hover li a, #suckerfishnav li li:hover li a, #suckerfishnav li li li:hover li a, #suckerfishnav li li li li:hover li a {
        color:#FFFFFF;
        }
    #suckerfishnav li:hover ul ul, #suckerfishnav li:hover ul ul ul, #suckerfishnav li:hover ul ul ul ul, #suckerfishnav li.sfhover ul ul, #suckerfishnav li.sfhover ul ul ul, #suckerfishnav li.sfhover ul ul ul ul {
        left:-999em;
        }
    #suckerfishnav li:hover ul, #suckerfishnav li li:hover ul, #suckerfishnav li li li:hover ul, #suckerfishnav li li li li:hover ul, #suckerfishnav li.sfhover ul, #suckerfishnav li li.sfhover ul, #suckerfishnav li li li.sfhover ul, #suckerfishnav li li li li.sfhover ul {
        left:auto;
        background:#444444;
        }
    #suckerfishnav li:hover, #suckerfishnav li.sfhover {
        background:#DA0909;
        }

    style.css:

    /*
    Theme Name: Bluebar
    Theme URI: http://www.freewordpresslayouts.com
    Version: 1.0
    Description: 2 Column theme
    Author: Smartertemplates.com
    Author URI: http://www.smartertemplates.com
    */

    /* Links */

    a:link { text-decoration: none; color: #5487ED; }

    a:visited { text-decoration: none; color: #5487ED; }

    a:hover, a:active { color: #265BC8; }

    /* Headings */

    h1, h2, h3, h4, h5, h6 { font-weight: normal; margin: 20px 0 10px; }

    h1 { font-size: 32px; margin-bottom: 0px; margin-top: 10px;}

    h2 { font-size: 28px; }

    h3 { font-size: 24px; }

    h4, h5, h6 { font-size: 20px; }

    /* Other Html Elements */
    .titles { font-weight: normal; border-bottom-width: 0; font-size: 24px; text-decoration: none; underline: none;}
    .titles a:link, .titles a:visited, .titles a:active {
    text-decoration: none;
    underline: none;
    font-size: 24px;
    font-weight: normal;
    border-bottom-width: 0;
    }

    pre, blockquote
    {
    overflow: auto;
    padding: 0 10px;
    margin: 20px 30px;
    line-height: 1.8em;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    }

    pre:hover, blockquote:hover
    {
    background-color: #f0f0f0;
    border: 1px solid #d0d0d0;
    }

    pre { padding-top: 10px; padding-bottom: 10px; }

    code { color: #779900; font-family: Consolas, Verdana, "Courier New", Sans-Serif; }

    ul, ol { line-height: 2.0em; }

    ul { list-style-image: url(images/bullet.gif); }

    abbr, acronym { font-style: normal; border-bottom: 1px dotted #333333; cursor: help; }

    del { text-decoration: line-through; color: #999999; }

    ins { text-decoration: none; color: #009977; }

    /* Structure */

    body
    {
    margin: 0;
    padding: 0;
    color: #222222;
    background-repeat: repeat-x;
    background-position: top left;
    background-color: #E8E8E8;
    font: normal 76% "Trebuchet MS", "Lucida Grande", Verdana, Georgia, Sans-Serif;
    }

    #wrapper2 {
    width: 950px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;

    }

    #navigation
    {
    width: 930px;
    float: left;
    height: 46px;
    border: 10px solid #FFFFFF;
    background-color: #FFFFFF;
    margin-bottom: 10px;
    }
    #headerbg {
    width: 930px;
    height: 282px;
    background-image: url(images/chuck.PNG);
    margin-top: 0px;
    margin-bottom: 10px;
    float: left;
    background-color: #FFFFFF;
    border: 10px solid #FFFFFF;
    }

    #wrapper
    {
    clear: both;
    float: left;
    width: 100%;
    color: #555555;
    background-color: #FFFFFF;
    padding-top: 20px;
    }

    #content-wrapper
    {
    width: 60%;
    float: left;
    }

    #content
    {
    float: left;
    padding: 0 0px 10px 30px;
    }

    #sidebar-wrapper
    {
    width: 35%;
    float: right;
    }

    #sidebar
    {
    float: right;
    padding: 0px 15px 10px 10px;
    width: 210px;
    margin-right: 15px;
    margin-top: 0px;
    }

    #footer
    {
    clear: both;
    float: left;
    width: 930px;
    text-align: left;
    padding-left: 20px;
    color: #5487ED;
    font-size: 11px;
    padding-bottom: 10px;
    background-color: #FFFFFF;
    }

    #footer a {
    color: #5487ED;
    font-size: 11px;
    }

    #footer a: visited {
    color: #5487ED;
    }
    #footer a:hover {
    color: #5487ED;
    }
    #extras
    {
    float: left;
    width: 780px;
    color: #C7AA92;
    text-align: left;
    padding: 0 10px 10px;
    margin: 10px 12px 20px;
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    }

    /* Header */

    #headerbg h1 { margin-left: 20px; padding-top: 12px; float: left; text-transform: lowercase; font-size: 35px;}
    #headerbg h1 a { color: #FFFFFF;}

    /* Navigation */

    #navigation ul { list-style-type: none; list-style-image: none; float: left; margin-top: 0px; padding: 0px 0px 0px 0px; margin-left: 10px; width: 930px; margin-bottom: 0px;}

    #navigation li { float: left; }

    #navigation li a:link,
    #navigation li a:visited
    {
    float: left;
    background-image: url(images/nav-bg.gif);
    color: #7B7B7B;
    display: block;
    padding: 10px 10px;
    margin-right: 13px;
    height: 26px;
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    margin-top: 0px;
    font-size: 13px;
    }

    #navigation li a:hover,
    #navigation li a:active
    {
    color: #7B7B7B;
    font-size: 13px;
    margin-top: 0px;
    background-image: url(images/nav-bg2.gif);
    }

    #navigation li.active a
    {
    color: #555555;
    background-color: #ffffff;
    }

    /* Wrapper */

    #wrapper a:link { font-weight: bold; }

    #wrapper a:visited { font-weight: bold; }

    #wrapper a:hover, #wrapper a:active { }

    /* Content */

    #content .post-title a { border-bottom-width: 0; }

    #content .post p.img { float: left; margin: 0 15px 0 0; }

    #content .post p.img img { padding: 8px; border: 1px solid #d0d0d0; background-color: #eeeeee; }

    /* Sidebar */

    .sideblock
    {
    padding: 5px 10px;
    margin-bottom: 20px;
    background-color: #F9F9F9;
    border: 1px solid #CCCCCC;
    }

    .post-wrapper {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 633px;
    background-image: url(images/post-bg.gif);
    background-repeat: no-repeat;
    margin-left: -20px;
    background-color: #F9F9F9;
    margin-bottom: 15px;
    float: left;
    }

    .sideblock ul { }

    .sideblock h3 { margin-top: 5px; font-size: 16px; color: #265BC8; padding-top: 4px; padding-left: 10px; font-weight: bold; display: block; }

    #sidebar dt { margin: 0; padding-top: 5px; font-weight: bold; color: #666666; }

    #sidebar dd { margin: 0 0 5px; padding-bottom: 5px; line-height: 1.8em; }

    #sidebar dd a:link { border-bottom-width: 0; font-weight: normal;  border-bottom: none; text-decoration: none;}

    #sidebar dd a:visited { border-bottom-width: 0; font-weight: normal; border-bottom: none; text-decoration: none; }

    #sidebar dd a:hover, #sidebar dd a:active { border-bottom: none; text-decoration: none;}

    /* Extras */

    #extras h6 { font-size: 14px; text-transform: uppercase; color: #555555; }

    #friends
    {
    float: left;
    width: 150px;
    margin-left: 20px;
    margin-right: 10px;
    }

    #links
    {
    float: left;
    width: 275px;
    margin-right: 50px;
    }

    #about
    {
    float: left;
    width: 250px;
    margin-right: 20px;
    }

    #friends ul { padding-left: 20px; }

    #links dl, #links dt, #links dd { margin: 0; padding: 0; }

    #links dt { font-weight: bold; padding-top: 5px; }

    #links dd { margin-bottom: 5px; padding-bottom: 5px; border-bottom: 1px dotted #999999; }

    /* Comments Styling */
    #commentlist li {
    margin-bottom: 1.5em;
    padding-bottom: 1em;
    border-bottom: 1px solid #700000;
    }

    #commentform {
    margin: 1em 0;
    background: #FFFFFF;
    width: 280px;
    }

    #commentform textarea {
    background: #f8f7f6;
    border: 1px solid #d6d3d3;
    width: 280px;
    }
    #commentform textarea:hover {
    background: #FFFFFF;
    border: 1px solid #d6d3d3;
    }
    #commentform textarea:focus {
    background: #ffffff;
    border: 1px solid #939793;
    }

    #commentform #email, #commentform #author, #commentform #url {
    font-size: 1.1em;
    background: #f8f7f6;
    border: 1px solid #d6d3d3;
    width: 280px;
    }
    #commentform #email:hover, #commentform #author:hover, #commentform #url:hover {
    font-size: 1.1em;
    background: #ffffff;
    border: 1px solid #d6d3d3;
    width: 280px;
    }
    #commentform #email:focus, #commentform #author:focus, #commentform #url:focus {
    font-size: 1.1em;
    background: #ffffff;
    border: 1px solid #939793;
    width: 280px;
    }
    #commentform input{
    margin-bottom: 3px;
    }

    .date {
    background: url(images/date.gif) no-repeat;
    height: 54px;
    margin-bottom: 0px;
    width: 54px;
    text-align: center;
    float: left;
    margin-top: 15px;
    }
    .date .month {
    display: block;
    color: #C2D6FF;
    padding: 2px 0px;
    text-align: center;
    text-transform: uppercase;
    font-size: 10px;
    margin-top: 2px;
    font-weight: bold;
    margin-bottom: 3px;
    }
    .date .day {
    display: block;
    color: #FFFFFF;
    font: 2.3em Georgia;
    padding-top: 0px;
    text-align: center;
    margin-top: -12px;
    }

    #left {
    width: 60px;
    float: left;
    }

    .slogan {
    font-size: 18px;
    color: #D3E1FF;
    text-transform: lowercase;
    margin-left: 20px;
    margin-bottom: 2px;
    float: left;
    }

    #3357

    The #navigation DIV tag is possibly interfering with your CSS. You also have a <ul> tag surrounding the suckerfish() function which you need to remove.

    #3457

    The #navigation DIV tag is possibly interfering with your CSS. You also have a <ul> tag surrounding the suckerfish() function which you need to remove.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.