Tagged: 

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #1002748

    Welche Möglichkeiten gibt es das Menü mit eignen Bildern zu gestalten!
    Habe das Plugin “Menu Image” versucht aber die hochgeladenen Bilder werden nicht angezeigt!

    Menü sollte etwa so aussehen wie das beigefügte Bild!
    Menü mit Bildern

    Danke für die Hilfe

    #1002976

    Hallo marsadvice,

    You could try to add image markup to custom links in your menu like so:

    <img src="https://your.site/image.jpg">Menu text

    I’m not sure if that would work but you could give it a try.

    Grüß,
    Rikard

    #1002977

    Hi again,

    It might be possible to set the images as backgrounds to the menu items if my first suggestion doesn’t work out for you.

    Best regards,
    Rikard

    #1003033

    in your first tip: how can i set the image above the text as shown ? (with this solution the image is straight before the text and if i add <br /> the text disappears)

    and how can i try to set the images as backgrounds (like your sec. tip)?

    thnx!

    • This reply was modified 6 years, 3 months ago by marsadvice.
    #1003156

    Hi,

    Thanks for the feedback. The menu items are not adapted for having images in them so you would likely need custom CSS to fix that, if it’s possible to fix. Where can we see the results you are getting?

    Best regards,
    Rikard

    #1003165

    i just can giv you the pic. it runs in a local testsystem (done with your first tip with image markup)

    the menue should look like the blue imige and text in the second row

    thnx

    #1003167

    First – you don’t need the custom link – if these Menupoints are real links.
    just open the menu-item at that littel arrow on the right. And on Navigation Label you can insert Ricards Code.

    If you got a link to your page – it is much easier to give any advice.

    i gave to those menu-items a custom-class : bildlink
    (if you have all menu links like this – get rid of that bildlink in the code)
    (if not : you know how to give a custom class to menu-items?)

    then to quick css:

    .bildlink .avia-menu-text {
        line-height: 20px;
        vertical-align: top;
    }
    
    .bildlink.menu-item img {
        display: block;
        width: auto !important;
        height: 50%;
        position: relative;
    }

    we had to find then a solution for the hamburger menu too – but with link it will be easier

    #1003172

    you even can do a hover on those images like:

    .bildlink.menu-item a:hover img {
        transform: scale(0.95) translateY(-3px);
        -webkit-filter: hue-rotate(180deg) saturate(400%);
        filter: hue-rotate(180deg) saturate(400%);
    }
    #1003177

    .

    • This reply was modified 6 years, 3 months ago by marsadvice.
    #1003194

    Well if there is a hidden private area – i do not see it because i’m participant as you are

    #1003206

    WOW THANK YOU… looks much better now! Great Job!
    there are just 2 little points more

    1 the menu text and the image were align is left and should be center (like above image in the second row)
    2 is it possible to show the text in two lines?

    #1003214

    i do not see the link in private content. – i’m a participant as you are. Only Mods could see that content.
    So if you can not make your link public – then you have to wait til mods are here.

    Text in two lines – you can try in navigation label to set a line-break between your text parts ( <br> or <br/> )

    <img src="https://your.site/image.jpg">Für<br/>Unternehmen

    #1003537

    Hi marsadvice,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #1003933

    @Guenni007 The Problem with <br/> is, that there is too much line spacing between and it is not aligned centered!


    @victoria
    as i said the side is at the moment on a local test environment.

    #1003937

    without a link i’m out here.
    It could be all (including line-height) Sorry

    And i think there will be no good way with a shrinking header

    last speculation:

    .bildlink.menu-item {
        overflow: visible !important;
    }
    
    .bildlink a {
        line-height: 10px !important;
        overflow: visible !important;
        text-align: center !important;
    }
    
    .bildlink.menu-item img {
        display: block;
        width: auto !important;
        height: 50%;
        position: relative;
        margin: 0 auto;
    }
    
    .bildlink .avia-menu-text {
        line-height: 20px;
        vertical-align: top;
    }
Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.