XF 2.2 Box shadow, all block except...

nicodak

Well-known member
Hello,

I apply a box-shadows CSS to all blocks but the shareButtons--iconic is "shadowed" too, how to not apply shadow only to this element ?
I tried this without success
Less:
.shareButtons--iconic {box-shadow: none;}

Thanks :)
 

Brogan

XenForo moderator
Staff member
My eyes aren't that good ...

I think there's something wrong with the CSS/templates here.

If you revert that style property and add this to the extra.less template, it only affects the share icons block.

Less:
.blockMessage
{
    box-shadow: 1px 1px 12px rgb(100, 100, 100);
}
 

nicodak

Well-known member
Thanks Brogan but it's exactly the opposite I want, shade under all the blocks except the share icons block.
So i transform your code and it works fine now !
Less:
.blockMessage
{
    box-shadow: none;
}
It's strange that .blockMessage only affects the Share buttons block, the semantic is not really consistent, but ok, it's noted.
 
Top