How to erase space above menu bar? Or just erase “first row” entirely
How to erase space above menu bar? Or just erase “first row” entirely
How to erase space above menu bar? Or just erase “first row” entirely
background not fixed and scaled on iPhone (but working on every other device)
Add this code to your themes functions.php function post_color_get_meta( $value ) { global $post; $field = get_post_meta( $post->ID, $value, true ); if ( ! empty( $field ) ) { return is_array( $field ) ? stripslashes_deep( $field ) : stripslashes( wp_kses_decode_entities( $field ) ); } else { return false; } } function post_color_add_meta_box() { add_meta_box( ‘post_color-post-color’, … Read more
Well, first, it’s a pure CSS question. Second, padding is what you want to use. Just change padding: 0; to whatever you like. I just used FireBug to hack a padding of 1em into your code, and it worked like a charm. // Edit However, it is not just .entry-content but also .entry-summary that you … Read more
Depending on how important the image is, can you do it with CSS. CSS3 has an attribute called background-size:cover. This does not stretch the image,but it will scale it until it fits the whole area. Depending on the sizes some parts could be hidden. w3schools on background-size
Custom background not showing
What version did you update to? The following has only been tested in 4.7.3 (and I never use custom backgrounds in the customizer, so I’m not sure what previous version of WP did there). In the customizer, when you set the custom background image, there should be an “Image Size” dropdown. You probably have “Original … Read more
I’ve actually fixed a solution, this solution uses a custom field in the post, and based on that, loads a background to the post. To get ride of the issue with different formats on the background image, I got help from (don’t remember the name) to write a code where it first tries to load … Read more
Here is the example inside a loop. Maybe yours looks a little different but essentially where you find have->posts() you’ll see a loop. In this block I just created a div and set the style to use the featured image as the background. // WP_Query arguments $args = array ( ‘numberposts’ => -1 ); // … Read more
Yes, you can absolutely do this with SVG, as long as you’re using inline SVG code, which you’ll need a program like Adobe Illustrator to produce. You may be able to use an online tool (like this one) but I haven’t tried that. Chris Coyier of CSSTricks.com did an excellent write up of this. Fork … Read more