Hi, I am trying to use a tab section as a menu on a mobile website.
Due to the small screen size on mobile devices I would like to change some of the CSS characteristics of the tab section layout element.
Can you let me know what element ids I can change (and where I can place the css) to change the following;
Also, Is there anyway to have a swipe gesture on a phone scroll the menu vs having to click on the tab images to get the menu to scroll?
Thanks,
Darryl.
Hey Darryl,
Right click on the element and click “Inspect element”, there you will see the element and classes in the DevTools console.
Fo the images the code is
.av-tab-section-image {
width: 40px;
}
If you need further assistance please let us know.
Best regards,
Victoria
Hi Victoria,
Where would I put the CSS changes if I just want to affect the tab section on a single page? If I only want to affect a single tab section I assume I would set an id for it in the advanced editor.
Do you know if there is a way to allow the swipe gesture on a phone to scroll the tab sections back and forth.
Thanks,
Darryl.
Hi Darryl,
You just need to swipe left or right to scroll on tab sections. As for making change on the tab section on a single page, you can put it in Quick CSS (located in Enfold > General Styling).
Best regards,
Nikko