Site logo

Archived topic

after pseudo-element in menu

3 replies · Started by Alberto on October 20, 2017

Viewing posts 1–4 of 4

Hello.
I'm trying to add a content after the main menu items but I've got something like this https://prnt.sc/gzvpyr instead of something like this https://prnt.sc/gzvq6h
I always use this css code

#mymenu > li{
	display: inline-block;
}
#mymenu > li:after{
	content: "-";
}

How could I achieve that using GeneratePress?

Thanks!

Hi there,

Can you give this a shot?

.main-navigation .main-nav ul li a:after {
    content: "-";
}

Hello Leo!
Ok, that's right.

Thanks a lot!

No problem!

This archived topic is closed to new replies.