Community Forums › Forums › Archived Forums › Design Tips and Tricks › Adding css to Brunch-Pro theme
Tagged: Brunch Pro, inline widgets
- This topic has 10 replies, 3 voices, and was last updated 7 years, 11 months ago by Brad Dalton.
-
AuthorPosts
-
September 19, 2016 at 12:55 pm #193381BlueBugMember
Hi, I'm new at WordPress design and am trying to set up a navigation menu using medium sized images in two rows inside of a TinyMCE widget. I have found a website that is doing this and like the way it looks. How can I add css to this theme so that I can add rows and divide it into thirds to display my images that I will link to my pages? Should I use a table?
September 20, 2016 at 3:13 am #193420Brad DaltonParticipantSeptember 25, 2016 at 6:07 am #193668BlueBugMemberdeidrariggs.com
September 25, 2016 at 6:12 am #193669Brad DaltonParticipantSeptember 25, 2016 at 6:34 am #193670BlueBugMemberNo. If you look at the page she uses images in tow rows as navigation. Speaking, books, blog, events, contact, about. How do I add css to the brunch pro template?
September 25, 2016 at 7:11 am #193673Brad DaltonParticipantThere's several ways to do this:
1. You can add 6 featured page widgets to the home top widget area and use CSS to display them in a grid a bit like you see here after the slider.
Or
2. You could add 6 text widgets with HTML for your images and links and use CSS to display them in a grid.
Or
3. You could use the WordPress gallery to display 6 images in a grid and link to them pages.
The CSS goes at the end of your child themes style.css file, before the start of the CSS for Media Queries.
Also note: Brunch Pro includes a featured posts widget which includes a setting to display entries in columns. You could use this as well and display the featured image only.
I suggest you try one of these methods and then link to the page if you need further help.
September 25, 2016 at 8:01 pm #193702ducnvMemberYou can update and view the results wordpress 4.6.1
September 26, 2016 at 8:46 am #193720BlueBugMemberThanks for your help. I will give that a try.
September 27, 2016 at 2:41 am #193738Brad DaltonParticipantThe CSS will look something like this if you want to use the featured page widgets in home top or home middle.
.home-middle, .home-top { background-color: #fff; clear: both; overflow: hidden; padding: 60px 30px 0; } .home-middle .widget, .home-top .widget { float: left; padding: 0 2.8%; width: 33.33333333333%; } .home-middle .widget:nth-of-type(3n+1), .home-top .widget:nth-of-type(3n+1) { clear: left; }
September 27, 2016 at 2:30 pm #193776BlueBugMemberBrad, I appreciate the code. Maybe you could help me further? I found the plugin Genesis featured page advanced and am tying to us it. It allows me to use custom pictures. I have figured out how to link them to the pages. But I can't get the images to display across the page in a row and I suspect that the css you sent doesn't work with the advanced version.
September 28, 2016 at 12:11 am #193789Brad DaltonParticipantHello @BlueBug
All the code i post here and on my site is tested and works.
Please clear any server side, plugin and/or browser caching.
The CSS assumes you have added multiple Genesis featured page advanced widgets to the home top or home middle widget area.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.