[Theme: Twenty Twelve] Extra Widget Array, Unresponsive.
-
I have created a new widget array on the static home of my twenty twelve. My install is fresh there and are no plugins installed. The third widget appears in the widget section and I have successfully added a text box. This all worked until I tried to make a three column layout. I want each widget to be W:30% with a 3% padding between them. In firebug I have isolated the widget areas and changed the code to
.template-front-page .widget-area .widget, .template-front-page.two-sidebars .widget-area .front-widgets { float: left; margin-bottom: 1.71429rem; width: 30%; /* I CHANGED THIS VALUE */ } .template-front-page .widget-area .widget:nth-child(2n+1) { clear: right; } .template-front-page .widget-area .widget:nth-child(2n), .template-front-page.two-sidebars .widget-area .front-widgets + .front-widgets { float: left; margin-left: 3.3%; /* I CHANGED THIS VALUE */ width: 30%; /* I CHANGED THIS VALUE */ } .template-front-page.two-sidebars .widget, .template-front-page.two-sidebars .widget:nth-child(2n) { float: none; width: auto; }
When I make the changes in firebug the widgets stack vertically in ‘mobile’ view making it possible to read the text. However, when I copy the code to my child-theme it displays correctly in browser views but does not stack vertically in mobile view – they stay horizontal and get really thin.
Here is my website https://www.apalis.co.uk -help on this would be greatly appreciated. If anyone has firebug try disabling the values from the child theme and making the changes to the parent you will see.
- The topic ‘[Theme: Twenty Twelve] Extra Widget Array, Unresponsive.’ is closed to new replies.