coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: alexandre596 on January 30, 2012, 04:31:37 AM

Title: can't hover correctly the main menu
Post by: alexandre596 on January 30, 2012, 04:31:37 AM
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???
Title: Re: can't hover correctly the main menu
Post by: Αndré on January 31, 2012, 10:00:16 AM
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.
Title: Re: can't hover correctly the main menu
Post by: alexandre596 on January 31, 2012, 04:32:38 PM
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
Title: Re: can't hover correctly the main menu
Post by: Αndré on January 31, 2012, 04:38:09 PM
I'd add new properties for
<div id="main_menu">
e.g.
padding-left: 85px;
Title: Re: can't hover correctly the main menu
Post by: alexandre596 on January 31, 2012, 04:48:40 PM
the last one is right now, but only the last =/
Title: Re: can't hover correctly the main menu
Post by: Αndré on January 31, 2012, 04:55:56 PM
It worked while I tested it with Firebug on-the-fly. Please attach your whole theme as zip file to your next post.
Title: Re: can't hover correctly the main menu
Post by: alexandre596 on January 31, 2012, 05:01:41 PM
attached
Title: Re: can't hover correctly the main menu
Post by: Αndré on February 01, 2012, 10:26:48 AM
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.
Title: Re: can't hover correctly the main menu
Post by: alexandre596 on February 01, 2012, 03:29:54 PM
I thought it was about the .main_menu haha

worked, THANK YOU SOOOOO MUCH
Title: Re: can't hover correctly the main menu
Post by: Αndré on February 01, 2012, 03:31:17 PM
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.