Decrease content size, not the rest of things on the web

  • Posted in : Read WP
  • ireneorozco
    Participant

    Hi (again, sorry)

    In Home page (http://www.lofs-shoes.com/blog/), I want to decrease the size of the content of the post showed, but not decrease the size of the rest of the things (image and title), is it possible? telling it than it has to be (example) 750px when the rest is 1024px…

    like
    “.readable-content { max-width: 1024px;
    }”
    but only with text (not for feature image for example)

    Thank you!

    ahmetsali
    Keymaster

    Hi, try also adding this custom css code;

    .featured-image {
        max-width: 760px; margin-left: auto; margin-right: auto;
    }
    
    ireneorozco
    Participant

    Thank you, but that would have feature image smaller than content, i need the opposite, allways feature image bigger than title and content
    Thank you!

    ahmetsali
    Keymaster

    ok, i see, remove this custom css code; .readable-content { max-width: 1024px; } and try only this;

    @media screen and (min-width: 1200px) {
        .featured-image { width: 140%; margin-left: -20%; }    
    }
    
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register