Site logo

css

child css after all

Hi I spent many time searching the forum but didn’t find a replay I created the child theme then in order to use bootstrap. I loaded it in the footer using wp_footer hook now I want to oveeride some classes it’s possibile to load the style.css file of my child theme after all aother css? … Read more

CSS files loaded twice (both parent + child theme)

Hello Tom, I am very happy with your GeneratePress theme and presently have just one issue with it: Both the parent’s and the child’s css files seemingly are loaded twice. (Cf. source code of test URL provided) This issue is also confirmed by GTmetrix.com, which says: The following resources have identical contents, but are served … Read more

CSS matters after upgrading to gp premium 1.5

Hey Tom, got two prob, one big-one small. The big one: I was used, on this website, to show in the homepage 8 column with mosaic style. To make this I was using – through simple css – this code: /*.masonry .masonry-post, .masonry .grid-sizer { width: 12.5%; } .masonry .grid-sizer.width4, .masonry .masonry-post.width4 { width: 50%; … Read more

Custom CSS Not Loading

Hi GP I’m adding this to the legal page using Accordion however the css ::after isn’t showing up correctly it works with other themes, I’ve add the HTML to the main page and load it into an HTML widget in the topbar for test purposes, any thoughts ?

Duplicate Style CSS

Not sure if you can help with this, but I ran a GT Metrix report on the site today and got this result: The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 27.3KiB. https://[redacted].com/wp-content/themes/generatepress/style.css?ver=1.4 https://[redacted].com/wp-content/themes/generatepress/style.css?ver=4.8.2 Is this an intentional redundancy … Read more

Problems with css: ul and li

Im having trouble with to much space between list items in ul. <ul class=”ftul”> <li class=”ftli”>Item A <li class=”ftli”>Item B <li class=”ftli”>Item C <li class=”ftli”>Item D My Styles .ftli{ overflow: hidden; padding: 0; margin: 0; } .ftul{ list-style: none; padding: 0; margin: 0; text-align: left; } I have tried with this style in my style.css … Read more

WordPress child theme subfolder file and css

Hi there, I’m using the theme for our corporate blog. And making a child theme so that updates won’t ruin blog. So far so good functions.php works like a charm, but i also changed the file template-tags.php in the subfolder ‘inc’. I created that subfolder in the child theme folder and put the file there. … Read more

Right Sidebar Alignment Issue when Left Sidebar is Empty

I’m noticing a layout problem when using GP Premium 1.4.3 with WooCommerce 3.2.1. I’ve setup the Category Archive pages with the Sidebar/Content/Sidebar layout. The Left Sidebar is using WooCommerce Dynamic Widgets like Price Filters and Woo Categories (that hides when there are not sub-categories available). When the Left Sidebar widgets are NOT visible, the Right … Read more

wp-comments-post.php – how to change font-size via CSS?

Hi guys, When testing the comments form on blog pages and hitting the submit button without filling out all required fields, an error is shown on a wp-comments-post.php page reminding the user to fill out the missing fields. The font-size there is too small for my needs but I haven’t been able so far to … Read more

"Best Practises" for working with Generatepress

Hi all, Just curious as to what is generally considered the best approach when needing to make PHP and CSS changes to the GP child theme. Should I make changes in the functions.php and style.css files within the child theme or is it generally considered the better practise to use a plugin and GPP hooks … Read more