badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Categories posts type

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44008
    whoisjackie
    Participant

    Hello, I have selected Blog image medium type to show on my site, but when I click one of the categories it shows with large image and I can’t change this. How to change it? Thanks

    url http://martinvymetal.cz
    categories are for example dane or finance

    #44030

    Hi whoisjackie,

    Blog image large is our default layout. So blog image medium will only displayed on choosing blog image medium template. On tag, category etc it will display blog image large. To have blog image medium it needs code customization. Go to theme folder -> library -> structure -> content-extension.php on line no 131 you will find this code

    $image .= get_the_post_thumbnail( $post->ID, 'featured', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ) ) ).'</a>';

    replace with

    $image .= get_the_post_thumbnail( $post->ID, 'featured-medium', array( 'title' => esc_attr( $title_attribute ), 'alt' => esc_attr( $title_attribute ) ) ).'</a>';

    Note: We recommended not to change the code because if you change the code then while updating to our new version all your customisation code will be lost. So better make child theme and first unhook the functions and the edit the code.

    http://codex.wordpress.org/Child_Themes

    Thank you!

    #44046
    whoisjackie
    Participant

    Thank you, but when I replaced the code it now looks like this. The image is still on top not left to the text. Here’s a screenshot

    #44059

    Hi whoisjackie,

    go to Appearance > Customize/Theme Options > Design Options Tab > Custom CSS paste the following CSS code and Click on save button:

    .post-featured-image {
    	width: 34.57%;
    	float: left;
    	margin-right: 4.67%;
    }
    .entry-content {
    	padding-bottom: 0;
    }

    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.