[resolved] controlling .post widths (6 posts)

  1. Helsinki
    Posted 2 years ago #

    I'm still having trouble controlling the widths of customized page elements. I looked at the css code for Decode and tried to follow the same settings. I wanted the page width for my 'white page' customisation to follow the width of the .site-header, but though I have used the same settings and applied them to .author and .post, I have not been able to control .post. Author seems to be at least have a max-width fixed, but not .post, either on the blog page or the individual post page.

    This is what I have in my custom css:
    @media only screen and (min-width:68.5em) {.author, .post {max-width:70em}}

    @media only screen and (min-width:50em){.article., site-main., .post {width:80%}}

    site is say-write.com (language services, testimonials and home are pages, and blog are posts.

  2. Helsinki
    Posted 2 years ago #

    Can anyone help with this?

    Scott - do you want to do some paid work to fix this? I recognise there is a limit to free support.


  3. Scott Smith
    Posted 2 years ago #

    Sorry for missing this question earlier.
    Are you still having this problem? I took a look at your site and the width of the container around posts seems to be the same as the site header.

  4. Helsinki
    Posted 2 years ago #

    Hi Scott

    Thanks for getting back to me on this. Yes, still having the problem, but with blog posts, not pages. See the BLOG sections of the site. say-write.com/blog-2/

    This is basically a problem on phones and smaller tablets.

    I start to be confused now. This happens because I try to implement an old style on a modern theme, I can see. Perhaps I have to think my background and color schemes and ditch these .article and .post modifications so that the theme can behave normally.

  5. Helsinki
    Posted 2 years ago #

    It's fixed Scott. I have some 'old' code in post-specific custom CSS that I had forgotten about.

  6. Scott Smith
    Posted 2 years ago #

    Ok, gotcha. Thanks for letting me know.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.