CSSMenu Horiz 1 col + News

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
atracksler

CSSMenu Horiz 1 col + News

Post by atracksler »

How do I add a column for news to this template?

Thanks,
ad
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSSMenu Horiz 1 col + News

Post by Dr.CSS »

 
 

     
     
        {title}
        {content}


       


{cms_selflink anchorlink='main' dir='anchor' text='^ Top'}

       
            {cms_selflink dir="previous"}

            {cms_selflink dir="next"}
       


     
     
 


     
     
        News
        {cms_module module='news' number='5' category='General'}
     
     



 
 

then add CSS to style... which you will find attached to... Bulletmenu Vert 1col+News
fuzzcore

Re: CSSMenu Horiz 1 col + News

Post by fuzzcore »

Hello, I also tried this and now have following problem:

The menu works fine, but when I expand an entry and scroll over an sub-entry that is as far down as the site's content, the menu exits.
Note, it works fine normally, but as soon as I have a menu that expands so far down that it's  "over" the site's content (i.e. the "region" of the content, there does not have to actually be any text or so), the menu vanishes.
The menu appears to be under the text where the two meet, how can I fix this (i am using CMSMS 0.13)?

Can you help me?
Last edited by fuzzcore on Thu Jun 29, 2006 9:04 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSSMenu Horiz 1 col + News

Post by Dr.CSS »

look at the theme download page for template you need :..
fuzzcore

Re: CSSMenu Horiz 1 col + News

Post by fuzzcore »

Sorry Marc, this is probably me being kinda dumb, but i don't get it.
What do I need? Currectly I'm still using the standard theme (due to a "DTD Version mismatch"-error when importing new themes, which I don't get solved either), what exactly do I need then? Sorry again, new to this whole world of CMS(MS)!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSSMenu Horiz 1 col + News

Post by Dr.CSS »

try to find a CSS setting in the menu that says overflow:hidden and delete it or just 'comment' it out...
/* this is commented out */ anything between /*  */ is not read by browsers...
fuzzcore

Re: CSSMenu Horiz 1 col + News

Post by fuzzcore »

mh, didn't do the trick  :(
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSSMenu Horiz 1 col + News

Post by Dr.CSS »

do you have a link :..
xshark

Re: CSSMenu Horiz 1 col + News

Post by xshark »

Hello,

I have dumb question too...I have horizontal drop-down menu with 4 levels. If i move the mouse to over the 2th level menupoint, the css expand the 3th (it is ok, normaly) but the 4th menupoint too...Why?

Thanx a lot...

Tamas
Last edited by xshark on Fri Jun 30, 2006 12:34 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSSMenu Horiz 1 col + News

Post by Dr.CSS »

the only dumb ? is the 1 you don't ask :..
the CSS menu is set for 3 levels, to add more levels find this and add the things in blue :..

/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

#primary-nav ul, #primary-nav li:hover ul, #primary-nav li:hover ul ul, #primary-nav li:hover ul ul ul,
#primary-nav li.menuparenth ul, #primary-nav li.menuparenth ul ul, #primary-nav li.menuparenth ul ul ul {
display: none;
}
#primary-nav li:hover ul, #primary-nav ul li:hover ul, #primary-nav ul ul li:hover ul, #primary-nav ul ul ul li:hover ul,
#primary-nav li.menuparenth ul, #primary-nav ul li.menuparenth ul, #primary-nav ul ul li.menuparenth ul, #primary-nav ul ul ul li.menuparenth ul {
display: block;
}

the menu has a primary list and 2 under it, the ul ul, so for 4 levels it's ul ul ul :..
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: CSSMenu Horiz 1 col + News

Post by Dr.CSS »

fuzzcore...
div#content {
        position: relative; this is it... this is not in the default template, added some how? i took it out and it let your menu float on top of your content, with out effecting anything else :..
        width: 100%;
        margin: 1.5em 0 2em 0;
        padding: 0;
        text-align: left;
    }
fuzzcore

Re: CSSMenu Horiz 1 col + News

Post by fuzzcore »

That's it, thank you so much Mark! Looks like it was my fault when copying the template or so, so I appreciate your fix all the more. Thanks!
Rock on...
-fc
xshark

Re: CSSMenu Horiz 1 col + News

Post by xshark »

Mark: thank you! working!
Locked

Return to “Layout and Design (CSS & HTML)”