Forums › Forums › General Questions › Tabbed Content to be fullwidth
Tagged: fullwidth, Mobile, tabbed, tabbed-content
-
Tabbed Content to be fullwidth
-
Hi there
Awesome plugin!
I have a question about the tabbed content block.
Is there a way of making the block container go fullwidth on the mobile? It’s not such an issue on desktop, but when looking at tabbed content on the mobile, the container is a little bit too narrow that when writting text,there are onlu a few words to each sentence. Essentially I want to get rid of the margins to give me extra room.
Thanks.. .
-
Hi @LGee ! We don’t yet have a built-in way of doing this. However you may add the following code snippet to your custom CSS:
@media (max-width: 600px){ .alignfull .wp-block-ub-tabbed-content-tabs-content { padding-left: 0; padding-right: 0; } }
You may adjust the max-width value depending on the screen size of the devices where the style should take effect.
Please let us know how it goes.