Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Need Help with CSS for joomla extended menu module

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30272
    fl68dds
    Member

    I have install the extended menu module in Joomla. I have my JS entered in my index header and install the sample css that I found. The problem is that I do not know CSS and want to change the sample css to match the original template css.

    Can anyone help?
    Here is the sample CSS:

    #twocols{ /*the columns that gets dropped down over yours might be different*/
    z-index:20;
    }
    #leftcol{ /*the columns that gets dropped down over yours might be different*/
    z-index:10;
    }
    .moduletablemainnav{ /* I have absolutely positioned the module, you might have a different scheme*/
    position:absolute;
    top:187px;
    left:20px;
    z-index:100;
    font:0.9em Verdana, Arial, Helvetica, sans-serif;
    margin:0;
    padding:0;
    }
    #mainlevelmainnav,#mainlevelmainnav ul{
    float:left;
    list-style:none;
    line-height:1em;
    background:transparent;
    font-weight:700;
    margin:0;
    padding:0;
    }
    #mainlevelmainnav a{
    display:block;
    color:#f90;
    text-decoration:none;
    margin-right:15px;
    padding:0.3em;
    }
    #mainlevelmainnav li{
    float:left;
    padding:0;
    }
    #mainlevelmainnav li ul{
    position:absolute;
    left:-999em;
    height:auto;
    width:11em;
    font-weight:400;
    background:#36f;
    border:#00C 1px solid;
    margin:0;
    }
    #mainlevelmainnav li li{
    width:11em;
    }
    #mainlevelmainnav li ul a{
    width:11em;
    color:#fff;
    font-size:0.9em;
    line-height:1em;
    font-weight:400;
    }
    #mainlevelmainnav li:hover ul ul,#mainlevelmainnav li:hover ul ul ul,#mainlevelmainnav li.sfhover ul ul,#mainlevelmainnav li.sfhover ul ul ul{
    left:-999em;
    }
    #mainlevelmainnav li:hover ul,#mainlevelmainnav li li:hover ul,#mainlevelmainnav li li li:hover ul,#mainlevelmainnav li.sfhover ul,#mainlevelmainnav li li.sfhover ul,#mainlevelmainnav li li li.sfhover ul{
    left:auto;
    z-index:6000;
    }
    #mainlevelmainnav li li:hover,#mainlevelmainnav li li.sfhover{
    background:#039 url(../images/soccerball.gif) 98% 50% no-repeat;
    }

    I need it to match this CSS from my template:
    .art-menu a, .art-menu a:link, .art-menu a:visited, .art-menu a:hover
    {
    text-align:left;
    text-decoration:none;
    outline:none;
    letter-spacing:normal;
    word-spacing:normal;
    }

    .art-menu, .art-menu ul
    {
    margin: 0;
    padding: 0;
    border: 0;
    list-style-type: none;
    display: block;
    }

    .art-menu li
    {
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
    float: left;
    position: relative;
    z-index: 5;
    background:none;
    }

    .art-menu li:hover
    {
    z-index: 10000;
    white-space: normal;
    }

    .art-menu li li
    {
    float: none;
    }

    .art-menu ul
    {
    visibility: hidden;
    position: absolute;
    z-index: 10;
    left: 0;
    top: 0;
    background:none;
    }

    .art-menu li:hover>ul
    {
    visibility: visible;
    top: 100%;
    }

    .art-menu li li:hover>ul
    {
    top: 0;
    left: 100%;
    }

    .art-menu:after, .art-menu ul:after
    {
    content: ".";
    height: 0;
    display: block;
    visibility: hidden;
    overflow: hidden;
    clear: both;
    }
    .art-menu, .art-menu ul
    {
    min-height: 0;
    }

    .art-menu ul
    {
    background-image: url(../images/spacer.gif);
    padding: 10px 30px 30px 30px;
    margin: -10px 0 0 -30px;
    }

    .art-menu ul ul
    {
    padding: 30px 30px 30px 10px;
    margin: -30px 0 0 -10px;
    }





    /* menu structure */

    .art-menu
    {
    padding: 12px 6px 0px 6px;
    }

    .art-nav
    {
    position: relative;
    height: 41px;
    z-index: 100;
    }

    .art-nav .l, .art-nav .r
    {
    position: absolute;
    z-index: -1;
    top: 0;
    height: 41px;
    background-image: url('../images/nav.png');
    }

    .art-nav .l
    {
    left: 0;
    right:0px;
    }

    .art-nav .r
    {
    right: 0;
    width: 888px;
    clip: rect(auto, auto, auto, 888px);
    }
    .art-menu ul li
    {
    clear: both;
    }





    .art-menu a
    {
    position:relative;
    display: block;
    overflow:hidden;
    height: 29px;
    cursor: pointer;
    text-decoration: none;
    margin-right: 2px;
    margin-left: 2px;
    }


    .art-menu a .r, .art-menu a .l
    {
    position:absolute;
    display: block;
    top:0;
    z-index:-1;
    height: 87px;
    background-image: url('../images/MenuItem.png');
    }

    .art-menu a .l
    {
    left:0;
    right:1px;
    }

    .art-menu a .r
    {
    width:402px;
    right:0;
    clip: rect(auto, auto, auto, 401px);
    }

    .art-menu a .t
    {
    font-family: Arial, Helvetica, Sans-Serif;
    font-size: 12px;
    font-style: normal;
    font-weight: normal;
    color: #DDE0DC;
    padding: 0 22px;
    margin: 0 1px;
    line-height: 29px;
    text-align: center;
    }

    .art-menu a:hover .l, .art-menu a:hover .r
    {
    top:-29px;
    }

    .art-menu li:hover>a .l, .art-menu li:hover>a .r
    {
    top:-29px;
    }

    .art-menu li:hover a .l, .art-menu li:hover a .r
    {
    top:-29px;
    }
    .art-menu a:hover .t
    {
    color: #232622;
    }

    .art-menu li:hover a .t
    {
    color: #232622;
    }

    .art-menu li:hover>a .t
    {
    color: #232622;
    }


    .art-menu a.active .l, .art-menu a.active .r
    {
    top: -58px;
    }

    .art-menu a.active .t
    {
    color: #0C0E0C;
    }

    Can anyone help me PLLLLLLLEEEEEAAAAASSSSSSEEEEE?

    Dean

    #79520
    Rob MacKay
    Participant

    hey :)

    It would be really useful if you had a live link?

    #79527
    fl68dds
    Member

    http://www.dkrealestatecuracao.com/
    Here you see the top nav is how it should look. The lower nav is the one that need formatting.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.