Use divi to add custom fixed headers for mobile devices.

Open the settings in column 1 of the row, and then on the Advanced tab, select disable on phones and tablets. This hides the entire column in the move and the logo it contains.
Then turn on the setting of column 2 in the same row to ensure that there are no disabled devices. On the mobile device, the logo will be disabled, so you can use this click inducing copy on the mobile device. For aesthetic purposes, update the text sorting of the two text modules that make up the second column of click induced copy: Text alignment (tablet and mobile): left malepart 3: create a new fixed header part for mobile devices. For mobile devices, it is important to minimize the height of the fixed header and avoid occupying too much display area when scrolling. Therefore, you do not pin the top part of the title. Instead, we will create a new fixed part that will only be displayed on the mobile device. In this way, specific elements can be included in the movement without taking up too much vertical space in the fixed state.
To generate a new fixed title section, copy the existing bottom section containing the menu. You can also specify the \
Then open the row settings and update the following zoom options: Large: 1: 94%, which will provide us with more mobile space. Update the menu logo and layout, then open the menu settings and add the logo to the menu. Update the layout style on the design tab. Style: left aligned malepart 4: add fixed state style to fixed elements now that the elements are ready to move the fixed header, you can start optimizing the fixed state element style. Because a part has a fixed position, you can switch the fixed position option when specifying a part or a child element style within a part. When you hover over a style option, you can click the pushpin icon to toggle the fixed position style.
In this way, the user scrolls and activates the fixed state of the part, which can provide different designs for the fixed header. To activate the background color of the sticker section, update the background color of the move fix section: Background color (desktop): #244435 background color (fixed): on the #fff stike section box shadow Design tab, specify box shadow for the fixed part: Box shadow: screen capture reference shadow color (desktop): transparent shadow color (fixed): RGBA (0,0,0,0.1) malesticker menu logo and icon. By default, the dark logo is reversed to the bright logo image, and then the logo image is updated with a filter to refresh and reverse to the viscous dark logo. In logo options, update the following:
Reverse image (desktop): 0% reverse image (fixed): 100% maleAlso needs to change the color of the icon, as shown below: Shopping basket icon color (desktop): #fff shopping basket icon color (fixed): #244435 search icon color (desktop): #fff search icon color (fixed): #244435 Hamburg menu icon color (desktop): #fff Hamburg menu icon color (sticky) : #244435 male fixed header button buttons in the top part of the current header will not be displayed in the moving fixed header. Add the same button in the new mobile fixed section
, and then display only in the fixed state.
To add a button, copy the existing button in the top row, column 3. Then paste the button module under the menu in the \

Author:

Leave a Reply

Your email address will not be published. Required fields are marked *