Style Radio Buttons inside Edit Page (Custom Fields)

Add your styles to /your-theme/admin-edit-post.css .inside ul.acf-radio-list.radio.horizontal li label { /* styles… */ } Then enqueue the styles by adding this to your theme’s functions.php: function wpse250000_admin_styles( $hook ) { // Bail if we’re not on the post.php admin page if ( ‘post.php’ !== $hook ) { return; } // Ensure we’re looking at a … Read more

Altering the design of WooCommerce notifications [closed]

It sounds like you might want to start by learning a little bit about CSS which isn’t necessarily a WordPress question (there are many CSS tutorials out there to get you started). Then to change your site’s style, identify the elements you want to change and add your customizations to your theme or whichever custom … Read more

WordPress Inline Style missing

It really depends where you added the inline style. If you added it into a theme file, like header.php for example, then you should be able to locate it at Appearance->Editor. If instead the code was added via a plugin or from a page`s admin editor or something similar, then you need to track the … Read more

How to automatically add custom classes to headings in content area

Yes, there are a couple of ways you can do this. One is by creating a filter in the functions.php file, like what is done here: https://stackoverflow.com/questions/10468697/how-to-add-a-class-to-a-html-element-using-filters-in-wordpress The other would be to use Javascript/jQuery to add classes to all the headers post load. Using the php variant would be more elegant, though.

Unable to link CSS file

First you need to register the style and css using wp_register_script() and wp_register_style() functions //registering css wp_register_style ( ‘mysample’, plugins_url ( ‘css/MapStyle.css’, __FILE__ ) ); wp_register_script ( ‘mysample’, plugins_url ( ‘js/MapStyle.js’, __FILE__ ) ); After this you can call the wp_enqueue_style() functions for loading the css in required page wp_enqueue_style(‘mysample’); wp_enqueue_script(‘mysample’);

add css to only body text

On your CSS rule for the .single img, you are currently setting only the maximum width, and the padding you set applies to the image itself within the body’s box. Try setting the image to full width and pulling the sides out with negative margin: .single img { width:100%; margin: 0 -100px; }

Make different border color gallery items

in case you using SASS: you can use this snippet and change accordingly $colors: red, orange, yellow, green, blue, purple; $repeat: 20 // How often you want the pattern to repeat. // Warning: a higher number outputs more CSS. @for $i from 1 through $repeat { .gallery img:nth-child(#{length($colors)}n+#{$i}) { border-color: lighten(nth($colors, random(length($colors))), 20%); } } … Read more