-
AuthorPosts
-
January 25, 2022 at 7:05 am #1336979
For my custom footer, I have a 4-column layout. Within the Row Screen Options, it offers only 2 choices for the Fullwidth Break Point (767px and 989px). I would like to make the breakpoint only for handheld mobile devices (around 500px). Can that be done?
Thanks!
January 25, 2022 at 10:56 am #1337026Hey laptophobo,
Thank you for the inquiry.
Did you select a page to display as footer, or are you just using the default footer columns? If you are using the default footer columns, you can use this css code to adjust the breakpoint.
@media only screen and (max-width: 500px) { .responsive #top .container .av-content-small, .responsive #top #wrap_all .flex_column, .responsive #top #wrap_all .av-flex-cells .no_margin { margin: 0; margin-bottom: 20px; width: 100%; } } @media only screen and (min-width: 501px) { .responsive #top #wrap_all #footer .av_one_fourth { margin-left: 6%; width: 20.5%; } }
Best regards,
IsmaelJanuary 25, 2022 at 12:25 pm #1337049Nope. I’m using a page to display the footer.
January 25, 2022 at 2:49 pm #1337082Hi,
Thanks for the update. Could you post a link to where we can see the actual elements please?
Best regards,
RikardJanuary 25, 2022 at 3:56 pm #1337099Hi Rikard. Link is in Private now.
thanks
January 26, 2022 at 4:04 am #1337191Hi,
Thanks for the update.
Please edit the footer page, move all of its content inside a color section, use “footer” as the color section’s custom ID attribute value in the Advanced > Developer Settings panel, then use the same css code above. This should adjust the breakpoint of the columns inside the color section.
Best regards,
IsmaelJanuary 26, 2022 at 12:20 pm #1337250Ismael,
I created the color section with #footer as suggested. And I applied your code in my style sheet. And, it almost works.
When the screen is viewed at 500 and below, the columns merge into one as desired. But, when viewed greater than 500, the columns (instead of viewing 4-across as their default) now collapse into 1 column and are reduced to 20% in width.
January 27, 2022 at 5:49 am #1337404Hi,
) now collapse into 1 column and are reduced to 20% in width.
You may need to change this css code a bit to adjust the width of the columns and make sure that it doesn’t collapse into a single column.
@media only screen and (min-width: 501px) { .responsive #top #wrap_all #footer .av_one_fourth { margin-left: 6%; width: 20.5%; float: left; } }
Replace it with:
@media only screen and (min-width: 501px) { .responsive #top #wrap_all #footer .av_one_fourth { margin-left: 6%; width: 20.5%; float: left; clear: none; } }
We just added the float and clear css properties.
Best regards,
IsmaelJanuary 27, 2022 at 1:12 pm #1337500Well, it’s still crashing. But, thanks for the try. I’ll just keep the Enfold default collapse.
Best,
January 28, 2022 at 5:23 am #1337613 -
AuthorPosts
- You must be logged in to reply to this topic.