Home Forums WoodMart support forum How can I fix height of grid and image on blog page like on home page

How can I fix height of grid and image on blog page like on home page

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #587696

    webcrazyinnovations
    Participant

    Attaching screenshot for home page

    Attachments:
    You must be logged in to view attached files.
    #587708

    webcrazyinnovations
    Participant

    Waiting for your kind response….

    #587904

    webcrazyinnovations
    Participant

    How can I fix blog grid height on blog page

    #587919

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

    You need to follow the steps:

    1. You need to upload all the images of the same size.

    2. Remove your custom JS code that crops your title and text for blog posts.

    3. Use the following CSS code.

    .wd-post .entry-content {
        overflow: hidden;
        height: calc(1.6em* 2);
        line-height: 1.6em;
    }
    
    .wd-post .wd-entities-title {
    	  overflow: hidden;
        height: 1.4em;
        line-height: 1.4em;
    }

    Kind Regards

    #587990

    webcrazyinnovations
    Participant

    As you can see in attached screenshot image size is uneven how can I fix image size here

    Attachments:
    You must be logged in to view attached files.
    #587993

    webcrazyinnovations
    Participant

    2. Remove your custom JS code that crops your title and text for blog posts.?
    From where?

    #588017

    Artem Temos
    Keymaster
    Xtemos team

    We don’t know exactly where you added the script. But as you can see, titles are cropped right after page is fully loaded. It is not our theme’s feature so probably comes with some of the installed plugins or custom code

    #588144

    webcrazyinnovations
    Participant

    Need a fix image size for all

    #588159

    Artem Temos
    Keymaster
    Xtemos team

    You can use the following custom CSS code for this purpose

    .wd-post .entry-thumbnail img {
        aspect-ratio: 300 / 130;
        object-position: 50% 50%;
        object-fit: cover;
    }
Viewing 9 posts - 1 through 9 (of 9 total)