WordPress crop image not working [closed]

It’s possible your theme is setting width: auto; on the image, possibly as part of some responsive tweaking. This would cause it to keep its normal proportion but with the specified height. Can you provide a URL to look at?

I can’t change the background color of a specific page

Looking at your pages source, it does not have post/page ID’s being added to the page’s body class so you referencing something in your CSS that doesn’t exist. Try this rather (not sure what section you want changed): body.blog { background-color: red; } or body.blog #content { background-color: red; }

Adding a css style to the main nav menu in child pages

in your functions.php file add the following code: if ( is_page( yourpage ) ) //yourpage can be your page’s id, title or even slug wp_enqueue_style( ‘path/to/your/custom/css/file’ ); //your stylesheet path elseif( is_page( yourpage ) ) //yourpage can be your page’s id, title or even slug wp_enqueue_style( ‘2nd/path/to/your/custom/css/file’ ); //your stylesheet path else wp_enqueue_style( ‘3rd/path/to/your/custom/css/file’ ); … Read more

Display current category without an active link in wp_list_categories

You can use get_the_category(); to display your category in menu <?php $categories = get_the_category(); $separator=” “; $output=””; if($categories){ foreach($categories as $category) { $output .= ‘<a ” href=”‘.get_category_link( $category->term_id ).'” title=”‘ . esc_attr( sprintf( __( “View all posts in %s” ), $category->name ) ) . ‘”>’.$category->cat_name.'</a>’.$separator; } echo trim($output, $separator); } ?> I used the <a> … Read more