Center the featured article of the Apostrophe theme

  • Unknown's avatar

    Hello,
    I just highlighted the last article by the featured function. It is bigger than the others, that’s what I wanted, but I don’t find it very nice because it is packed on the left side and there is a blank on the right.
    So I would like to know (probably by adapting the css code) if it is possible to lengthen it so that it is the full width, or to center it by leaving it this size?
    Thank you !
    Here is the blog I’m talking about: http://www.sottevilleaufildutemps.fr
    Laurent

    The blog I need help with is: (visible only to logged in users)

  • Hi, layout changes like this can get pretty complex with various media queries and what not, so they fall outside the scope of the CSS support we offer here. But you’d be welcome to hire a designer if needed.

    Or, if you’re willing to tinker with inspect element and what not to sort it out on your own, something like this may be a good head start:

    @media (min-width: 768px) {
      .blog article.apostrophe-2-featured {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
      }
    }
  • Unknown's avatar

    It’s really good, it’s exactly what I wanted!
    Thank you very much !
    Laurent

  • The topic ‘Center the featured article of the Apostrophe theme’ is closed to new replies.