Home Page Excerpt Width

  • Author
    Posts
  • #105444

    Hi,

    I’ve been using Janice for a while now and I love it, but the one thing about it I wish I could change is to have the excerpt below my featured images on the home page be the same width as the images.

    I usually upload landscape images (more width than height) as featured images to get layout number two. Is there a way to fix the CSS so that the text fills out the whole area below featured images instead of being squeezed in on the left?

    Thanks in advance,
    Brenda

    The blog I need help with is missmatchy.com.

    #105590

    ricardpriet
    Theme Author

    Hello Brenda,
    Thank you for writing and using Janice :)

    Yes of course, if you want to get more with but inside the margin width then add this:

    @media (min-width: 992px) {
    .bg-lf.post.has-post-thumbnail .janice-grid-post {
        width: 70%;
        margin-right: 15%;
        margin-left: 15%;
    }
    }
    @media (min-width: 768px) {
    .bg-lf.post.has-post-thumbnail .janice-grid-post {
        width: 70%;
        margin-right: 15%;
        margin-left: 15%;
    }
    }

    On the other hand, if you want the maximun width, this CSS instead:

    @media (min-width: 992px) {
    .bg-lf.post.has-post-thumbnail .janice-grid-post {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
    }
    @media (min-width: 768px) {
    .bg-lf.post.has-post-thumbnail .janice-grid-post {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }
    }

    I personally prefer the first one :)

    Here you are how to add CSS:
    https://en.support.wordpress.com/custom-design/editing-css/
    https://en.support.wordpress.com/custom-design/css-basics/

    Hope this helps
    Thank you again!
    Ricardo P. from SiloCreativo

    #105635

    Thanks heaps, Ricardo! The first one was exactly what I had in mind. It looks great now! :)

    #105639

    ricardpriet
    Theme Author

    Fantastic Brenda,
    nice to hear that!

    Have nice day :)

    Thank you again.
    Ricardo P. from SiloCreativo

The topic ‘Home Page Excerpt Width’ is closed to new replies.