Help...how to change colour of hover over in profile and polls?

Go down

Solved Help...how to change colour of hover over in profile and polls?

Post by Brad38 on August 2nd 2008, 9:04 am

Hi Folks,

I'm using the Vista Blue theme for my forum by Jalokim and it's PhpBB3 version. I'm wondering how I would change the colour of the hover over when viewing your individual profile or for example when you create a poll. My text is mostly all blue, but in these instances and when hovering over these particular fields, it's black. I would like it to be red so I guess I just need another code for this?

Any help is always appreciated. Smile
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

Solved Re: Help...how to change colour of hover over in profile and polls?

Post by Guest on August 2nd 2008, 10:35 am

Admin Panel > Display > Colors > "Hover Link Color:" > Change Color > Save
avatar
Guest
Guest


Back to top Go down

Solved Re: Help...how to change colour of hover over in profile and polls?

Post by Brad38 on August 2nd 2008, 11:46 am

Scamite wrote:Admin Panel > Display > Colors > "Hover Link Color:" > Change Color > Save

Hi Scamite...

Thanks for your response but this isn't the case. Even if I wasn't using a custom theme, there are no options to change the text elements I've asked about here. If this is at all possible, it will need to be done using a specific CSS code in the stylesheet. I do wonder however if it's even possible because I've checked out my profile options again here in Forumotion Help forum and even the hover-overs here in our profile, highlight in black.
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

Solved Re: Help...how to change colour of hover over in profile and polls?

Post by Guest on August 2nd 2008, 11:50 am

If it is a CSS script you need, then you may have be better off asking for assistance in the "Script (code) problems" forum.

I am unable to help you wish coding. I do not understand how it all works. Razz
avatar
Guest
Guest


Back to top Go down

Solved Re: Help...how to change colour of hover over in profile and polls?

Post by Brad38 on August 2nd 2008, 12:32 pm

Scamite wrote:If it is a CSS script you need, then you may have be better off asking for assistance in the "Script (code) problems" forum.

I am unable to help you wish coding. I do not understand how it all works. Razz

No problem and thanks anyway for offering your assistance. Smile
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

Solved Re: Help...how to change colour of hover over in profile and polls?

Post by Saurus on August 2nd 2008, 8:13 pm

The phpBB3 class for the "hover" element is
Code:
a:hover{
 color: #d31141;
 text-decoration: none;
 }

Adjust as needed. Red would be #FF0
avatar
Saurus
Forumember

Male Posts : 789
Reputation : 10
Language : english
Location : NY

http://sunrisers.forumotion.com

Back to top Go down

Solved Re: Help...how to change colour of hover over in profile and polls?

Post by Brad38 on August 2nd 2008, 9:13 pm

Hi Saurus...

That code doesn't seem to work for what I'm asking about. If you'll notice here in this forum even if you hover your mouse over most links, they highlight red/orange but except for the options in your profile. Take a look in your profile here and hover your mouse over some of the options, they highlight black. There must be a separate code for those elements.
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

Solved Re: Help...how to change colour of hover over in profile and polls?

Post by Saurus on August 2nd 2008, 9:20 pm

@Brad38 wrote:Hi Saurus...

That code doesn't seem to work for what I'm asking about. If you'll notice here in this forum even if you hover your mouse over most links, they highlight red/orange but except for the options in your profile. Take a look in your profile here and hover your mouse over some of the options, they highlight black. There must be a separate code for those elements.

Ah, I see what you mean now. The element for that is somewhere in the .fieldset class. Have to see if I can find it.

Okay, I think this is it - it's the only thing I can find in the "fieldset" class that has a default value of #000000 and a hover value of BOLD.
Code:

fieldset dl:hover dt label {
color: #000000;
}
dt label {
font-weight: bold;
text-align: left;
}

If you just want the hover color to be red (#FF0) all you should have to do is add a line to the "dt label" selector like this:
Code:

dt label {
font-color: #FF0;
font-weight: bold;
text-align: left;
}

At least I HOPE that's it Wink
avatar
Saurus
Forumember

Male Posts : 789
Reputation : 10
Language : english
Location : NY

http://sunrisers.forumotion.com

Back to top Go down

Solved Re: Help...how to change colour of hover over in profile and polls?

Post by Brad38 on August 2nd 2008, 9:32 pm

Hi Saurus,

Ok thanks....so, should I just paste that first code with the colour I want at the bottom of my CSS stylesheet or should I actually look for that code in my CSS and replace the colour code?
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

Solved Re: Help...how to change colour of hover over in profile and polls?

Post by Saurus on August 2nd 2008, 9:39 pm

Probably best to check your CSS page. I don't use templates, so I don't know how Jalokim does his. If there is CSS on the page, look for that selector and just add the line I gave you. If there is nothing there, just add the entire code with the new line for the font color red. So it would be:
Code:

fieldset dl:hover dt label {
color: #000000;
}
dt label {
font-weight: bold;
font-color: #FF0;
text-align: left;
}

I don't think it matters where on the CSS page you add it. It SHOULD override the deafults, unless as I said Jalokims templates adds that selector to your CSS page. In that case - you'd have to add the font color line to his code.

I'm surprised Jalokim hasn't jumped this thread - he should be able to tell you exactly where it will go.
avatar
Saurus
Forumember

Male Posts : 789
Reputation : 10
Language : english
Location : NY

http://sunrisers.forumotion.com

Back to top Go down

Solved Re: Help...how to change colour of hover over in profile and polls?

Post by Brad38 on August 2nd 2008, 9:43 pm

Ok thanks Saurus...I'll see what I can manage and give it a shot. Smile Will let you know how I make out. Smile
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

Solved Re: Help...how to change colour of hover over in profile and polls?

Post by Saurus on August 2nd 2008, 9:43 pm

BTW, if you'd like a copy of the complete CSS for phpBB3, let me know and I'll give you a link to my file server so you can download it.
avatar
Saurus
Forumember

Male Posts : 789
Reputation : 10
Language : english
Location : NY

http://sunrisers.forumotion.com

Back to top Go down

Solved Re: Help...how to change colour of hover over in profile and polls?

Post by Brad38 on August 6th 2008, 9:23 am

Hi Saurus and all,

Ok, I tried your code and nothing changed. I entered it exactly, well copied and pasted it with the colour number I wanted into my CSS and the hover over colours in the profile and other sections didn't change. Sad Thanks for offering the code guide for me to download off your site, but I'm afraid I wouldn't have much use for it and as I'm just learning this stuff. It's all greek to me. Thanks very much for the kind offer though. Smile

Any other suggestions....anybody?
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

Solved Re: Help...how to change colour of hover over in profile and polls?

Post by zakir321 on August 7th 2008, 11:55 am

Your forum was phpBB3 if I remember correctly?

For the poll options, I guess you mean this part of the CSS:

Code:
fieldset dl:hover dt label{color:#f00;}

Not sure though what you meant with individual profile information... would you explain that a little more in depth?
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

Back to top Go down

Solved Re: Help...how to change colour of hover over in profile and polls?

Post by Brad38 on August 11th 2008, 6:58 pm

Sunny_D wrote:Your forum was phpBB3 if I remember correctly?

For the poll options, I guess you mean this part of the CSS:

Code:
fieldset dl:hover dt label{color:#f00;}

Not sure though what you meant with individual profile information... would you explain that a little more in depth?

Hi Sunny_D,

Sorry to get back to you so late and thank you for your response. Smile Yes, I am using phpBB3 and your code worked for me for both the hover over on poll questions and hover over in the profile elements! SmileSmile

Thanks again very much. Very Happy:)Very Happy
Brad38
Brad38
Forumember

Male Posts : 667
Reputation : 32
Language : english

http://pigeonchat.forumakers.com/

Back to top Go down

Solved Re: Help...how to change colour of hover over in profile and polls?

Post by zakir321 on August 12th 2008, 3:00 am

You are welcome, Brad. Wink

I will lock the topic.
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

Back to top Go down

Back to top


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