CSS help

[ad_1]

I’m pretty sure that I need to add custom CSS to fix a menu issue, as there is no access to what I need to do in the customizer or the theme options.

Site: [https://fleetwoodsynagogue.or](https://fleetwoodsynagogue.ort)g

Problem: I have just added an additional top level page. This has caused the menu to wrap to two lines, even on a full screen desktop display.

Using the Inspect function, I found the following and see that manipulating the 20 px setting in the padding will cure the problem. Unfortunately, I don’t know how to write the code for the CSS. I’m not even clear on how to get the class for the CSS.

All help appreciated!

Here’s what I think is the relevant code.

#Top_bar .menu > li > a span:not(.description) {
display: block;
line-height: 60px;
padding: 0 20px;
white-space: nowrap;
border-right-width: 1px;
border-style: solid;
}

[ad_2]
1 Comment
  1. “#Top_bar .menu > li > a span:not(.description) {
    padding: 0 0px;
    }”

    Don’t include the quotations and add to the additional CSS of customizer. Optionally, add a note above it like “/* Changes to Menu */” again withou quotes.

    Sometimes, you may need to do:

    padding:0 0px!important;

    to force it to overwrite.

    You might also try font-size: ___em;
    or something of that nature.

    Hard to tell if merely changing padding is rhe best solution.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer