0

I am trying to set properties of the ul and li items within a class but it's not working. This is for the wordpress jetpack social media icons.

I have

.widget_wpcom_social_media_icons_widget .genericon {
    font-size: 21px;
}

.widget_wpcom_social_media_icons_widget ul {
    list-style-type: none;
}

.widget_wpcom_social_media_icons_widget li.menu-item {
    margin-right: 100px;
}

Only the first one, setting the size, seems to work. The others don't. The second one is to remove the bullets before the media icons and the second one is to add a space between the icons as the icons are inside span blocks. Why are they not working?

Paulo Matos
  • 1,614
  • 17
  • 23

1 Answers1

1

To remove bullet points use

.widget_wpcom_social_media_icons_widget ul li {
list-style: none; }

You cannot give margin to a span since it is a inline level element, instead you can make the .menu-item as inline block and give margin this way

.widget_wpcom_social_media_icons_widget li.menu-item {
display:inline-block;
margin-right: 100px;}
Dinǝsh Gupta
  • 377
  • 1
  • 2
  • 9