Trigger link for search button

Hi There,

I am working on this site https://99jahre.elektrohieber.de/typografie/ (PW: 99-Jahre-Strom) and I want to add a search-button to the mobile menu.



It all works so far – yet I cannot get it to open the search field like in the desktop viewport.



Could you please help me accomplish this?

Oh – and is there a possibility to have a gradient for the body / content background.

I´ve tried this but it won´t go all the way to the bottom of the page (see screenshot below):body {

body {
  background: #E3E2DF;
  background: linear-gradient(174deg,rgba(255, 255, 255, 0) 0%, rgba(227, 226, 223, 1) 20%, rgba(21, 21, 21, 1) 100%);
  background-repeat: no-repeat !important;
}    



Many thanks and best regards,

Daniel

Comments

  • Hi,

    Please always attach a link to your website so we can check it out. If the page is offline(localhost), then our help will be limited. You will have to contact us when the page is online. Also, please make sure that the page is not under maintenance before you provide us with the link.


    Thanks

  • Hi Phil,

    The link to the page is in the first line of my previous message – including the password.

    Here again: https://99jahre.elektrohieber.de/typografie/ (PW: 99-Jahre-Strom).

    Here you should be able to see all needed information.

    Best regards,

    Daniel

  • I am sorry, I do not know how I overlooked that.

    1) You can use the sidebar menu template, and add the search icon to it:

    https://support.muffingroup.com/video-tutorials/sidebar-menu-vertical-header-builder/

    2) The white color is assigned to the section, so if you want to add a gradient, set it for the section background:

    Best regards

  • Hi Phil,

    many thanks for your quick help.

    The Tipp with the sidebar-builder... great. I only have one problem... somehow, I can´t manage to get my Subemnu Icon aligned and in the color of the font. Do you have an idea, how I could solve this?

    And for the gradient – I don´t want to set the gradient in the background of a section (that one is easy).

    I want to set the gradient for the whole body - so basically here:


    I´ve tried setting the color to none and then overrruling with CSS (see the code in my first message), but that doesn´t work. Is there easier way?


    Thanks and again best regards,

    Daniel

  • 1) Try the following CSS code:

    .mfn-menu-wrapper .menu-item .outer-menu-sub{
     top: 22px;
    }
    

    2) The sliding footer is a problem here.

    Try to change the footer style to default, and use the following CSS code:

    #Content{
     background: linear-gradient(174deg,rgba(255, 255, 255, 0) 0%, rgba(207, 226, 223, 1) 20%, rgba(21, 21, 21, 1) 100%);
    }
    

    Best regards

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.