Community Forums › Forums › Archived Forums › Design Tips and Tricks › Changing widgets on home page
Tagged: css code
- This topic has 9 replies, 3 voices, and was last updated 9 years, 7 months ago by
Brad Dalton.
-
AuthorPosts
-
August 14, 2015 at 11:06 am #162393
EmLY14
MemberHi
I am using Cafe Pro on a new website. I have added several pages as widgets on the home page and would like to know how I can edit the size of the boxes.
Any help is much appreciated as I wasn't sure where this was represented in the editing file.
Thanks.
http://onwardtradingdev.freshapproachpr.co.uk/
EmmaAugust 14, 2015 at 12:10 pm #162399Brad Dalton
ParticipantYou'll find all the CSS under the Home section your style.css file:
/* # Content Area ---------------------------------------------------------------------------------------------------- */ /* ## Home --------------------------------------------- */ .cafe-pro-home .content .widget-area .widget { float: left; margin-left: 2.564102564102564%; } .cafe-pro-home .content .one-widget .widget { display: inline-block; float: none; margin: 0 auto; max-width: 90%; } .cafe-pro-home .content .seven-widgets .widget, .cafe-pro-home .content .five-widgets .widget, .cafe-pro-home .content .six-widgets .widget, .cafe-pro-home .content .three-widgets .widget, .cafe-pro-home .content .widget-thirds .widget { width: 31.623931623931625%; } .cafe-pro-home .content .eight-widgets .widget, .cafe-pro-home .content .five-widgets .widget:nth-last-of-type(-n+2), .cafe-pro-home .content .four-widgets .widget, .cafe-pro-home .content .two-widgets .widget { width: 48.717948717948715%; }
August 15, 2015 at 3:10 am #162439EmLY14
MemberThanks for this braddalton. I am able to bring the width down and was hoping that a fourth widget would join the line but sadly not. It all moved over to the left and remained as three widgets.
Am I asking for too much to adjust this theme?
August 15, 2015 at 6:25 am #162447Brad Dalton
ParticipantNo, Appreciate you having a go.
Just trying to work out what section you want help with adjusting. I think this is called discovery.
You added the featured page widget or several of them to which widget area?
August 15, 2015 at 6:35 am #162449dimensionseo
MemberThanks braddalton,
I am also looking for this code to implement in my website because i am facing problem in my website due to my mistake in css code.
Thanks
Mukesh
August 18, 2015 at 4:44 am #162706EmLY14
MemberI added several Genesis Featured Page widgets to area 3 of the home page. Ideally I would like two rows of four.
August 18, 2015 at 10:20 am #162751Brad Dalton
ParticipantCan you link to the page which contains the 2 rows of 4 widgets please.
August 18, 2015 at 10:29 am #162752EmLY14
Memberhi Brad
This is what it currently looks like - http://onwardtradingdev.freshapproachpr.co.uk/
Scroll down to the third section. This is where I would like the two rows of four, but currently it only allows me to have three in a row!August 18, 2015 at 10:31 am #162753Brad Dalton
ParticipantHow many have you added to each widget area? Please add 8 in section 3.
Also, please remove any CSS you added edited which isn't default.
August 18, 2015 at 3:35 pm #162786Brad Dalton
ParticipantI think you're referring to the front page 2 section which is coded to display 3 text widgets.
If you want it to display 4 featured page widgets inline, you will need to add additional CSS using the featured page widget class which you can grab by inspecting the element.
On top of this, you'll also need to add a custom image class for the featured image.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.