How to add shadow to the header main menu?

Posted in: Newspaper
Post count: 23

I would like to add a shadow to the header. It was there before, but I don’t know how it is gone.

Thx.

Post count: 22421

Hello,

Please provide a link to your site so we can inspect the header.

Thanks

Post count: 23
Post count: 23312

Hello,

Below I gave you a simple example of shadow for your menu items.

The code is ->

.menu-item{
color: white;
text-shadow: 4px 4px 6px #000000;
}

The result is here -> https://www.screencast.com/t/lg2ggEM3WXT

Thanks for your understanding!

Post count: 23

Thank you for the answer.

I was thinking about a shadow like this http://prntscr.com/iatls6 (like on the Gadgets demo).

The shadow was there, but I don’t know why it isn’t there anymore.

Thank you.

Post count: 20688

Hi,

Sorry about the misunderstanding, I believe this is what you want
https://www.screencast.com/t/IKP0ieY60

Enter this code in Theme panel->Custom CSS section

.td-header-style-5 .td-header-menu-wrap {
-webkit-box-shadow: 0 2px 6px 0 rgba(0,0,0,0.09);
-moz-box-shadow: 0 2px 6px 0 rgba(0,0,0,0.09);
box-shadow: 0 2px 6px 0 rgba(0,0,0,0.09);
}

You can make modifications to the code if you want to, this is a guide about using box-shadow
https://css-tricks.com/almanac/properties/b/box-shadow/

Thanks

Post count: 23

Yes, this is it.

Thank you very much.

Regards,
Miso

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.