Support Forum

Some Theme Buttons have Text with Shadow

GM GM
GM
Member

Dear All,

I have black theme with white text. Some of the text in buttons only have white shadow…

I don’t know where to tweak the theme to loss the undesired effect. Small sample attached.

Regards

Gregory

Simple_TextShadow.jpg

15 Answers

New Answer

BR Brandon
Brandon
Member

It sounds like you are talking about the box shadow when hovered or in focus.

Take a look at your theme for #spMainContainer .spControl:focus and #spMainContainer .spControl:hover

If you remove the box-shadow line on both of them that should remove the glow.

GM GM
GM
Member

I’m talking about the text, not about the box line – for example: ‘Search Members’ or ‘All Members’ have the shadow.

On ‘hover’ you get outline around the button. The text is always in focus…

MP Mr Papa
Mr Papa
Member

not something we do in any of our themes (at least not that I am aware of)…  but if you give us a link we can see what might be bleeding over from your wp theme…

MP Mr Papa
Mr Papa
Member

btw, you have a plugin throwing errors… something like login radius share??  its probably over greedy and trying to hook into the inline login form in the forum…

do you have a link to a page with the problem?  your image above is the members page which you are not allowing guests to view…

MP Mr Papa
Mr Papa
Member

nvm… I see it on the inline login form too…  will take a look but probably the same login plugin…

MP Mr Papa
Mr Papa
Member

its your wp theme… the agtnoname… the main style.css file… line 1657… its applying a shadow and text transform to ALL labels in a form…  so obviously very greedy and non specific…

to your theme, you will want to override your wp theme…

#spMainContainer form label {
text-shadow: none;
text-transform: none;
color: inherit;
}

this should prevent your wp theme from greedily styling all forms…

GM GM
GM
Member

Thank you.

The ‘shadow’ settings affects the ‘search string’

It has to be another setting, which is affecting the buttons.

MP Mr Papa
Mr Papa
Member

sorry, not following… the ‘search string’?  the inline search form and buttons look good to me…

GM GM
GM
Member

I have added the

#spMainContainer form label {
text-shadow: none;
text-transform: none;
color: inherit;
}

and the ‘search string’ looks good but the ‘Search Members’ and ‘All Members’ still with shadow.

MP Mr Papa
Mr Papa
Member

since guests cannot see the members list page, I cannot look… but likely very similar greedy theme css…

GM GM
GM
Member

I have made the members visible.

http://www.bimup.co.uk/forum-menu/forum/members/

PS. I like S:Plaugh

MP Mr Papa
Mr Papa
Member

nearly same thing from wp theme…  style.css line 1577

#spMainContainer a.button,
#spMainContainer .submit,
#spMainContainer input[type=”submit”] {
text-shadow: none;
}