Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1155377

    On the website of my association https://www.kreisverband-donauwoerth.de there is a problem with the background in the main menu.
    Is there a possibility that the menu remains vertically centered as before, but the background color is not so high and the height is a maximum of 50px-60px?

    #1155483

    Hey webprojektdonauwoerth,

    Please try the following in Quick CSS under Enfold->General Styling:

    #top #header_main > .container {
        height: 60px;
        line-height: 60px;
    }

    Best regards,
    Rikard

    #1155636

    Hello, first of all thank you for the quick reply.

    I forgot to mention that the logo should have the same size as before. But when I insert the code, it shrinks and is no longer recognizable.

    #1155799

    Hi,

    Thanks for the update, but how can your logo be the same size as before if the container decreases in size? Are you looking for it overflow the header boundaries?

    Best regards,
    Rikard

    #1155960

    @Rikard: Thanks for your reply.

    All I want is for the green background not to fill in the full height of the header but to emphasize the text a little bit (as if going over it with a highlighter).

    Best regards,

    Lukas

    #1156271

    Hi Lukas,

    Thanks for the clarification. I can’t view your site anymore since it’s in maintenance mode, could you post login details in private please?

    Best regards,
    Rikard

    #1156303

    I’m sorry. I have deactivated the maintenance mode again.

    #1156373

    Hi,

    Thanks for that. Please try this CSS instead:

    #top #header_main > .container .main_menu .av-main-nav > li > a {
        height: 60px;
        line-height: 60px;
    }

    Best regards,
    Rikard

    #1156403

    That’s it. Thank you very much.

    I added the following code because the menu was moved up:

    margin-top: 100px; (the header is 260px high, so 260px – 60px for the hover background =200px / 2 = 100px)

    #1156658

    Hi,

    Great, I’m glad that you got it working and thanks for the feedback and sharing your solution. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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