Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1356691

    Need your help: I read the documentation about this topic, but still do not understand, how to create and configure a floating button, that appears on each page of the enfold-Installation. I work with a child-theme.
    Thanx in advance
    CC

    #1356707

    Hey CC2022,

    You should be able to do that with a widget in the header for example: https://kriesi.at/documentation/enfold/header/#adding-a-header-widget-area. Make sure to place it in a fixed position. If you need help with styling, then please add the widget and content, then link to where we can see it.

    Best regards,
    Rikard

    #1356722

    Thank You so far, but the button shall not appear in the header-area, but shall always cling to the right border of the screen (vertically in the middle).

    #1356730

    I added a link below in the „private content“. There you can see a composing of how it shall look like (here the mobile view). I mean the Button on the right „Termin buchen“.
    Maybe you know the best way to realize this with enfold?.
    Thank you in advance.
    CC

    #1356735

    Hi,

    You should be able to achieve that with CSS. If you need further help, then please post a link to where we can see the actual element.

    Best regards,
    Rikard

    #1356743

    You mean, that I have to place the widget into the header area and then give it a fixed postition via CSS to it outside the header-area?

    #1356754

    I decided to place the button on the home-page, but it always disappeares behind the layerslider, the header and the footer. I already changed the z-index of the button:
    z-index: 999999!important;

    What else can I do, to bring it in front?

    #1356764

    Hi,

    We need to inspect the element in question, in order to give you accurate CSS. Could you post a link to where we can see it please?

    Best regards,
    Rikard

    #1356769

    All right. — Here comes the link to my site, where I test it, before konfiguring in it on the client’s site. The button sticks to the right side behind the layerslider and appears, when scrolling down.

    #1356776

    Hi,

    Thanks for that. It looks like you didn’t place it in a widget? You would need to put the z-index value on the section instead. Please add a custom ID to the section in question, then use CSS like this:

    #your-section-id {
        z-index: 30;
    }

    Best regards,
    Rikard

    #1356781

    Hm, thank you, but it doesn’t work. The „button“ is still in the background although it has its own section with an ID and the customized z-index…

    #1356796

    Hi CC2022,

    Please try adding this CSS code:

    #top #sec_30 .av-content-full {
        z-index: 50 !important;
    }

    Best regards,
    Nikko

    #1356831

    Thank you very much Nikko,
    it works!
    Best regards
    CC

    #1356834

    Hi CC,

    We’re glad that we could help :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Floating Button on each page’ is closed to new replies.