Support » Theme: Twenty Twenty » Styling the Desktop Expanded Menu, specifically the padding

  • I can’t figure out how to change the padding and font size in the Desktop Expanded Menu.

    This is what I tried. I know I am getting close because the background color of the menu does infact change to blue. However no change to the padding or font size.

    .ancestor-wrapper {
    	padding-top: 0;
    	background-color:blue;
    	font-size:10px;
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • This should work

    .expanded-menu .modal-menu > li > .ancestor-wrapper > a {
    	padding-top: 0;
    	background-color:blue;
    	font-size:10px;
    }

    Ah! Perfect! Thank you so much.

    I’ve never used the > sign before but now I see how valuable it is.

    Thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.