How to stop Gutenberg from outputting inline CSS for specific blocks?
How to stop Gutenberg from outputting inline CSS for specific blocks?
How to stop Gutenberg from outputting inline CSS for specific blocks?
How to override Bootstrap css with my child theme css in wordpress?
By default, Astra uses ‘system fonts’. To change the defaults, look in Appearance / Customize / Global. https://wpastra.com/docs/font-selection/ Best of luck!
Style internal links based on the tags of the linked post
Can you edit WP gutenberg block css without a plugin?
Have a look at the functions in this file: buddypress/bp-core/bp-core-adminbar.php That’s where you’ll find what you’re looking for most likely.
I would set up a new page template (see http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates), create a new page (Pages > New) and set it to use that template, and then set WordPress to use that page as the homepage (Settings > Reading). Then you can fill the custom page template with whatever content you want in between wp_head() and … Read more
I see that you are have a hard time on this so here: <?php global $post; $curent_post = $post; $curent_post_id = $post->ID $parents = array(‘4′,’6′,’8′,’10’); if (in_array($post->post_parent,$parents)){ query_posts(“post_type=page&post_parent=”.$post->post_parent.”&orderby=menu_order&order=asc”); } if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <a href=”https://wordpress.stackexchange.com/questions/12054/<?php the_permalink(); if ($curent_post_id = $post->ID){ echo” class=”highlight”‘; } ?>”><?php the_title(); ?></a> and … Read more
You have to account for all appropriate CSS classes, based on the number of columns passed to the shortcode. Here’s my CSS (borrowed heavily from Michael Fields), for handling from 1 to 10 columns: .gallery { margin: 0px auto; text-align: center; width: 100%; min-width: 100%; } .gallery .gallery-item { float: left; margin: 0px auto; text-align: … Read more
I would do this with JS I’m afraid. It’s the quickest simplest form. Using jQuery I have this snippet. jQuery(function($){ $(‘.menu li:has(“.sub-menu”)’).addClass(‘has-sub-menu’); }); Then you can use CSS to do what you need 🙂