Home Forums Free Themes University Hub how to change image size in post announce on the main page

This topic contains 6 replies, has 2 voices, and was last updated by  wensolutions 1 year ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #75466

    tylerd
    Participant

    hello there,
    i have three columns university hub design and have changed the proportions of columns. Sidebars has became a bit thinner, content area became wider, the text of the announce too, but the announce image is not. The image is taken into announce from thumbnail selector at the new post section in admin cabinet and it takes “max-width: 570px;” from somewhere and for the third day of hitting the wall by the head i cannot realize where does it take this strict parameter. I want to make announce images proportional to post’s announce text width, please help me

    #75467

    tylerd
    Participant

    screenshot

    #75480

    wensolutions
    Keymaster

    Hello @tylerd,

    First of all, thank you for using the theme.

    Since the query is specific to your case we need your site URL so that we can provide the precise fix on this.

    Hope this helps.

    Regards!!

    Have a good day 🙂 .

    #75501

    tylerd
    Participant

    oh sure, that would be great, here is the link. i have really read a lot of common mans about image functions inside wordpress already, thumbnails and posts sizes, but still no effect 🙁 Hope you’ll help to move this stone away 🙂

    Regards!

    #75506

    wensolutions
    Keymaster

    Hello @tylerd,

    Now to resolve the issue please add below given CSS by going to Admin Panel > Appearance > Customize > Additional CSS.

    #main-nav {
    	margin-left: 0;
    }
    #masthead,
    #content {
    	overflow: hidden;
    }
    #primary article.hentry a {
    	display: block;
    	margin: 0 -30px;
    }
    
    #primary article.hentry .wp-post-image {
    	width: 100%;
    }

    Hope this helps.

    Regards!!

    #75511

    tylerd
    Participant

    Oh, thank you, you saved my head and my weekend! It worked great. By the way, it’s

    
    #primary article.hentry .wp-post-image {
    	width: 100%;
    }
    

    more than enough for solving, i do roughly understand what is the following for

    
    #main-nav {
    	margin-left: 0;
    }
    #masthead,
    #content {
    	overflow: hidden;
    }
    #primary article.hentry a {
    	display: block;
    	margin: 0 -30px;
    }
    

    but is starts another problem of putting submenu items under the main content, but it’s just an optional feedback if you didn’t know.

    Thanks again, the theme is great and i do really like it.

    Regards!

    #75590

    wensolutions
    Keymaster

    Hello @tylerd,

    Glad we could help you 🙂 .

    Also, the additional CSS is for the glitches that we found on your site. But if you are having the issue then you can ignore and use the one you need.

    Further, if you have any issues, then please let us know.

    Also, we would really appreciate if you could help by rating our theme by following the link given below:

    https://wordpress.org/support/theme/university-hub/reviews/

    Hope this helps.

    Regards!!

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.