1
newbiedeluxe
Menu help

Recently had to restore my site due to database issues, now my "main menu" and "user menu" are bunched together.

My site is located at http://www.texasrxs.org, I've gone mad trying to tweak the theme.html and css sheet for my theme, don't know what or where else to turn. Are there settings stored somewhere else? when I "View source" for my page it has way more content than the theme.html that my theme appears to be using.

Thanks in advance for any help, I've searched/googled to infinity and beyond, no luck yet.

2
ghia
Re: Menu help
  • 2010/11/30 22:53

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Ad a display: block; for mainmenu in your CSS.

About that view source / missing content, could you give an example?

3
newbiedeluxe
Re: Menu help

This is all my current style.css has for main menu, is this incorrect?

a {
font-family: Tahoma, taipei; *main menu*
font-size: 12px;
text-decoration: none;
color: #ff0000;
font-style: normal;

In looking at another theme it had this listed:

td#mainmenu a {background-color: #e6e6e6; display: block; margin: 0; padding: 4px;}
td#mainmenu a:hover {background-color: #ffffff;}
td#mainmenu a.menuTop {padding-left: 3px; border-top: 1px solid silver; border-right: 1px solid #666666; border-bottom: 1px solid #666666; border-left: 1px solid silver;}
td#mainmenu a.menuMain {padding-left: 3px; border-right: 1px solid #666666; border-bottom: 1px solid #666666; border-left: 1px solid silver;}
td#mainmenu a.menuSub {padding-left: 9px; border-right: 1px solid #666666; border-bottom: 1px solid #666666; border-left: 1px solid silver;}

My guess is I need a top line similar to that one in the css I'm using or?

4
newbiedeluxe
Re: Menu help

There is 583 lines of text in the source listed under "view source" when I use internet explorer to look at my page.

My theme.html has about half that, I've tried cutting and pasting sections to fix the menus etc. ,then after uploading the new theme.html file, I can't login to my site anymore.

So it's almost like it's using a different theme.html, but I can't figure out how to determine that or how to fix it etc.

5
Bleekk
Re: Menu help
  • 2010/12/1 0:23

  • Bleekk

  • Theme Designer

  • Posts: 941

  • Since: 2002/12/14


open /themes/TpM_Theme/style.css

to #mainmenu a add display: block;

if #mainmenu doesn't exist then add

#mainmenu a{display:block;}

6
newbiedeluxe
Re: Menu help

Thanks!! I'll give that a try and see what happens.

7
newbiedeluxe
Re: Menu help

went ahead added it with no dice, is there a particular spot in the css file it needs to go? does it need anything else along with it? I put it towards the end of the document where there were some other statements starting with #. It looks like this now:

#mainmenu a{display:block;}

#usermenu a{display:block;}

/* color -- dropdown menu for Forum */
#dropdown a{
color:#000000;
}

#dropdown .menubar, #dropdown .menu, #dropdown .item, #dropdown .separator{
background-color: #99B5CC;
color:#ffffff;

Perhaps I should try a system update via modules and see if that changes anything.

edit: no change after that, surely I must be doing something wrong syntax wise somewhere ..ugh

8
newbiedeluxe
Re: Menu help

figured it out, thanks for the help, site is back to looking somewhat normal again. :)

9
Anonymous
Re: Menu help
  • 2011/2/16 13:36

  • Anonymous

  • Posts: 0

  • Since:


Quote:
newbiedeluxe wrote:
figured it out, thanks for the help, site is back to looking somewhat normal again. :)


Can you remember what you did? I've just upgraded to 2.4.5 from 2.4.3 (via 2.4.4) and my my main menu is similarly stuffed. Was okay before the upgrade and I've not changed anything in the theme's .css

Current code:

td#mainmenu a {
    
displayblock;
    
margin3px;
    
padding3px;
    
border-left4px solid #999;
    
border-bottom1px solid #999;
    
backgroundurl(images/go.gifno-repeat right;
}
td#mainmenu a:hover {
    
border-left4px solid #FF9900;
    
border-bottom1px solid #FF9900;
    
colorinherit;
    
background-color#1E1E1E;
}
td#mainmenu a.menuSub {
    
margin3px 3px 3px 12px;
}
td#usermenu a {
    
displayblock;
    
margin3px;
    
padding3px;
    
border-left4px solid #999;
    
border-bottom1px solid #999;
    
backgroundurl(images/go.gifno-repeat right;

}
td#usermenu a:hover {
    
border-left4px solid #FF9900;
    
border-bottom1px solid #FF9900;
    
colorinherit;
    
background-color#1E1E1E;
}
td#usermenu a.highlight {
    
background#f90;
}


Many thanks

Login

Who's Online

320 user(s) are online (193 user(s) are browsing Support Forums)


Members: 0


Guests: 320


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits