Community Forums › Forums › Archived Forums › Design Tips and Tricks › Change centric pro Home2 widget area
Tagged: centric pro, column, home widget, row, widget, widget area
- This topic has 14 replies, 2 voices, and was last updated 11 years ago by
WvanW.
-
AuthorPosts
-
December 3, 2014 at 7:20 am #133488
WvanW
MemberHello,
I have the centric pro theme installed, but I would like to change the Home2 widget area.
It displays 3 featured page widgets, in 3 rows under each other. I would like to have them displayed in columns next to each other in 1 row.
Any idea where I can change the style of this widget area or how to achieve this?
Thanks in advance!
December 3, 2014 at 7:48 am #133490Genesis Developer
MemberDecember 3, 2014 at 8:02 am #133494WvanW
MemberDecember 3, 2014 at 8:18 am #133497December 3, 2014 at 8:55 pm #133536WvanW
MemberCan anyone point me in the right direction!?
December 5, 2014 at 9:13 am #133701WvanW
MemberI found which elements to style altho I can't get it right.
.home-widgets-2 { display: inline-flex; }Above code shows the featured page widgets horizontal. But I want them to look like the featured post widget.
So the feautured page widgets should be centered in the home 2 widget area and have a width of max:width: 31.623931623931625%;.home-widgets .featuredpage .home-widgets-2 .widget .widget-wrap
Can someone help me out with the correct css to fix this, please.
December 5, 2014 at 10:07 am #133703WvanW
Member.featuredpage { width: 426.67px; display: inline-flex; }This also shows them horizontal but still doesn't center them and also the height is different of each page widget, The ammount of content seems to do this.
December 6, 2014 at 9:06 am #133817WvanW
MemberStill not solved....
December 6, 2014 at 11:41 am #133830Genesis Developer
Membertry this
.home-widgets-2 .featuredpage { width: 31.6239%; float: left; margin-left: 2.5641%; clear: none!important; } .home-widgets-2 .featuredpage:nth-of-type(3n+1){ margin-left: 0; }
December 6, 2014 at 12:10 pm #133835WvanW
MemberThat did do the trick although, The widgets now take the full width of the screen. I want them to be 1280px just like the featured post widget and they should be centered.
.home-widgets-2{
max-width: 1280px;Is the good width, but still doesn't center the widgets.
December 6, 2014 at 12:14 pm #133836Genesis Developer
Member.home-widgets-2{ max-width: 1280px; margin-left: auto; margin-right: auto; }try it
December 6, 2014 at 12:17 pm #133837WvanW
MemberThanks! That works, although it is not mobile friendly.
The featured post widgets show perfect on mobile.
Is it possible to do the same for the featured page widgets?
December 6, 2014 at 1:18 pm #133840WvanW
MemberAlso, the background is now shared with the home 3 widget area.
Seems like the home 2 widget area wrap is gone or something.December 6, 2014 at 1:47 pm #133842December 7, 2014 at 11:53 am #133902WvanW
MemberStill haven't figured it out...
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.