• Hi there,

    unfortunately i have the problem that i don’t know how to reduce the distance between the menu items and the description of the Menu.
    the distance is just too big and looks terrible.
    Anyone have an idea how I can change that? So that the description is right under the dish?

    I hope anyone can help me out.

    Thank you very much guys.

    Link to the Menu

    https://zweilieben.com/?page_id=227

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • I tried to look at your elements by right clicking and “inspect element” in the browser. Then you can see the css code.
    The problem is the parameter of “fdm-item-title” having “padding-bottom: 40px”.

    If you go into the debugger (which opens when you imspect elements) and reduce for example to 4px, then you get what you want.

    You could try to go to your wordpress > customize > additional css and try to add

    .fdm-item-title { padding-bottom: 4px }

    This might already solve your problem.

    Cheers
    Aljoscha

    • This reply was modified 5 years, 1 month ago by aljoschak.
    Thread Starter dennis78

    (@dennis78)

    Wow, thank you very much. Looks way better with th css code.
    But still a gap as you can see.
    I tried with different px. But no way to get the gap away.
    Any other idea?

    Mhh I am also not an expert on that matter – just that I had to try out myself a lot lately ??
    But from what I know so far I could imagine, that the remaining distance is part of the parent class settings (maybe its some heading type with a preset paragraph setting).
    This gets inherited, so there will be maybe some more css settings which you need to tune.
    Try inspecting the element in the debugger and read about css settings to find out what could be the reason.

    line-height: 0 would be another setting to add, for example

    Thread Starter dennis78

    (@dennis78)

    Thank you very much.
    That was just it!!! Perfect it works.

    Happy I could help!

    Plugin Support jaysupport

    (@jaysupport)

    Are you just talking about the vertical space between each menu item? If so, you can try something like:

    .fdm-item-has-price .fdm-item-panel p {
        padding-bottom: 0;
    }
    
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Help by distance menu item to description’ is closed to new replies.