Shop Categories

X

The image of header from articles not responsive

Home Forums Agama Pro The image of header from articles not responsive

Topic Resolution: Resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8685
    mobilitypower
    Participant

    On the blog page the image is adapted correctly, but inside the article the image is cropped and it is not responsive.

    https://mobilitypower.es/category/blog/

    https://mobilitypower.es/fitness-fascial/

    I want the image of the article to have measures 1200 px x 400 px. What code should be put?

    Thank you!

    #8708
    Zex
    Moderator

    Hello, mobilitypower!

    Sorry for the long delay…
    In order for your images to be responsive, you can not put a fixed size for the image.

    You can only limit the maximum width of the Image with the next code:

    /*Single-post Featured image size*/
    
    .single-post .entry-header
     {
      max-width:400px;
      margin:auto
    }

    Change the max-width value per your needs.

    To avoid cropping the image, you can follow the steps explained in the next post:

    https://theme-vision.com/forums/topic/problems-with-featured-image-in-post/#post-8706

    Best Regards

    • This reply was modified 5 years, 2 months ago by Zex.
    #9267
    mobilitypower
    Participant

    The problem with image of header from articles was fixed but I founded an important error

    The content of the articles aren`t responsive. The text is on the right in version tablet and movil but is correctly in the pc

    I deleted image of header but is the same, the text is on the right.

    Example https://mobilitypower.es/los-achaques-de-la-edad/

    I need help!

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