Topic Resolution: Resolved
  • Creator
    Topic
  • #31538

    Harald Röh
    Spectator

    Hi,
    I am trying to adjust my test website https://test.gfcev.de with new evolve-plus 2.6.8 to the customization I did for my productive website http://gfcev.de with old evolve-plus version 2.5.1.

    I tried to adjust the line height/line spacing of my primary menu on my test website as I did for my productive site.
    I used following code:

    #menu-hauptmenue ul li a {
    line-height: 1.2 !important;
    padding: 10px !important;
    }

    (I had to adjust the id, because you changed the menu id between the versions.)

    The funny effect now is, that line-height and padding settings seem to work fine but that now the submenu text ist doubled in bold font. (For the sticky menu I did not apply this customization yet)

    Any idea on how I can avoid this text doubling.
    The code worked fine for version 2.5.1 .

    Thanks and best regards
    Harald

Viewing 4 replies - 1 through 4 (of 4 total)
Replies
  • Priyank
    Moderator
    Post count: 260
    #31547 |

    Hi,
    We are creating new menu style effect in evolve update, this effect not in evolve 2.5.1
    So, You adjust the line height/line spacing in your primary menu, you change only on line-height not padding. Like
    #menu-hauptmenue ul li a {
    line-height: 2.2 !important;
    }

    Harald Röh
    Spectator
    Post count: 39
    #31608 |

    Hi,
    I think only changing line-height does not solve the problem.
    On my test site test.gfcev.de I now only changed line height to 1.3em, but the menu does not look right.

    My primary aim is to have ergonomic menues, where single menu items have a narrow text spacing (if they need more than one line) and are well seperated from other menu items (which I achive by defining padding accordingly, see menues on my productive site gfcev.de).

    For me your new menue style seems to always generates double text entries, where the second text copy is in bold face. Only by defining a large enough line height and narrow padding the second text copy can currently be hidden.

    I would be happy if the new menu style would not generate double entries at all.
    Any chance to achieve this by CSS customization?

    Best regards
    Harald

    Priyank
    Moderator
    Post count: 260
    #31668 |

    Hi,
    Add new custom css in your old style
    #menu-hauptmenue ul li a {
    line-height: 2.2 !important;
    }
    ul.nav-menu ul.sub-menu .sf-with-ul::after {
    top: 25%;
    }

    Harald Röh
    Spectator
    Post count: 39
    #31738 |

    Hi,
    sorry, your advice does not help.
    I now completely resetted the theme customization and startet from scratch again.
    Now I am able to define the line spacing as wanted.
    See test.gfcev.de

    I think the main reason for these previous double entries comes from your rollover menu effect which I do not use.

    I will close this ticket now.

    Regards
    Harald

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘adjust line spacing in submenus’ is closed to new replies.