The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

hover bckground problem

View previous topic View next topic Go down

Solved hover bckground problem

Post by S-t-e-v-e- on November 24th 2013, 7:46 pm

God i'm stuck on this, i'm trying to make my forum more like my website

this my website





you can see below the hover background is not going up or down far enough


here are the css codes
a.mainmenu{
color: #dddddd;
       height: 30px;
       font-weight:bold; 
}
a.mainmenu:hover {
       font-weight:bold; 
    text-decoration: none;
    color:#336699;
      height: 30px;
    line-height:30px;
    background:url("http://staffy-bull-terrier.com/theme/img/topHover.PNG"); 
    }

S-t-e-v-e-
Forumember

Posts : 450
Reputation : 6
Language : English

Back to top Go down

Solved Re: hover bckground problem

Post by Ikerepc on November 24th 2013, 7:52 pm

Hello

You need to put all that in div tag, you are put just words. Can you give us html of just that navbar?

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

Solved Re: hover bckground problem

Post by Ange Tuteur on November 24th 2013, 7:54 pm

Can you please provide a link to your forum?

Thanks I love you

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: hover bckground problem

Post by S-t-e-v-e- on November 24th 2013, 7:55 pm


S-t-e-v-e-
Forumember

Posts : 450
Reputation : 6
Language : English

Back to top Go down

Solved Re: hover bckground problem

Post by Ange Tuteur on November 24th 2013, 7:58 pm

Give this a try in your CSS:
Code:
a.mainmenu{
display:inline-block;
}

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: hover bckground problem

Post by S-t-e-v-e- on November 24th 2013, 8:03 pm

woooo hooooo thanks that work

thanks a lot

S-t-e-v-e-
Forumember

Posts : 450
Reputation : 6
Language : English

Back to top Go down

Solved Re: hover bckground problem

Post by SLGray on November 24th 2013, 10:16 pm

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35661
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum