• Resolved clarenancy

    (@clarenancy)


    Thanks in advance. I searched this forum but didn’t find my answer. At least not how I worded it.

    I’m trying to build a static site at the link. I wish I knew which page is designated as the default, then I think I could change that one and let all others inherit.

    I have gone through every template and changed the content block width to 940, but still some pages do and some pages don’t. Or at least, that’s what I thought I was doing.

    See here is certainly wider than 940: https://clareking.net/638-2/case-study-posters/

    But this one seems correct: https://clareking.net/logos-illustrative/logos/

    I have a few more pages to build. But I’d like to know what I’m doing wrong before I go much further.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • I wonder if that’s related to my issue.

    I built a webpage last year on WordPress.com using Twenty Twenty Two. Today I checked it and suddenly the blocks that were 1000 px wide are now full page width and I cannot change that. Actually, in the WordPress.com editor they still show as 1000 px wide.

    So I wonder if that could be related to the theme’s source code, not to the WordPress.com editor.

    As a reference my webpage is lerneyo.com.

    Looking at your site it appears there is a plugin called “PDF Embedder” that has it’s own CSS stylesheet which is overriding the core content width, on those pages that have a PDF file embedded.

    This is the core WordPress CSS:

    .wp-container-6 > :where(:not(.alignleft):not(.alignright)) {
      max-width: 940px;
    }

    And this is the PDF Embedder CSS that is overrriding the maximum width:

    .entry-content > :not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.woocommerce),
    .entry-content > .wp-block-pdfemb-pdf-embedder-viewer {
      max-width: none;
    }

    It may be worth asking the creators of that plugin for help with this issue, pointing them to this topic so they can see the CSS that is breaking the content width.

    PDF Embedder support forum link: https://www.ads-software.com/support/plugin/pdf-embedder/

    Thread Starter clarenancy

    (@clarenancy)

    Thanks so much, uxl.

    I will try that. I’m using the free version of the plug in. Maybe the paid version has a method to constrain the size.

    Clare

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘default page and content width’ is closed to new replies.