can't hover correctly the main menu can't hover correctly the main menu
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

can't hover correctly the main menu

Started by alexandre596, January 30, 2012, 04:31:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alexandre596

I was designing my theme
then, I changed the margin of the main menu, and now I can't hover it correctly!!  :'(

here, take a look

http://katyperryonline.org/galeria/index.php?theme=abertura

someone, please???

Αndré

I suggest to undo the change and then we can have a look at your theme and find a solution how to display it as you want.

alexandre596

i only changed one thing

from this

Quote.dropmenu li a.firstlevel span.firstlevel {
    display: block;
    position: relative;
    left: -5px;
    padding-left: 5px;
    height: 22px;
    line-height: 19px;
}

to this

Quote.dropmenu li a.firstlevel span.firstlevel {
    display: block;
    position: relative;
    left: 90px;
    padding-left: 5px;
    height: 22px;
    line-height: 19px;
}

now it's back to the way it was

Αndré

I'd add new properties for
<div id="main_menu">
e.g.
padding-left: 85px;

alexandre596

the last one is right now, but only the last =/

Αndré

It worked while I tested it with Firebug on-the-fly. Please attach your whole theme as zip file to your next post.

alexandre596


Αndré

Again, undo your change and add this to your theme's style.css file:
#main_menu {
    padding-left: 85px;
}


That's what I initially suggested and works as expected in my local testbed.

alexandre596

I thought it was about the .main_menu haha

worked, THANK YOU SOOOOO MUCH

Αndré

Please
Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.