[Resolved] After update to the 3.0.1 “entry-summary” block shifted to the left

Home Forums Support [Resolved] After update to the 3.0.1 “entry-summary” block shifted to the left

Home Forums Support After update to the 3.0.1 “entry-summary” block shifted to the left

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1482143
    Oleksiy

    Hi guys.

    Updated to the 3.0.1. Refreshed the Archive page. And noticed that “entry-summary” block has shifted to the left.

    It’s because

    margin-left: auto;
    margin-right: auto;

    stopped working.

    This rule was replaced by:

    .entry-content:not(:first-child), .entry-summary:not(:first-child), .page-content:not(:first-child) {
    margin: 2em 0 0;

    in the all.min.css.

    Help me please. What’s the best way to fix it?

    #1482191
    Oleksiy

    Actually, contact form also moved to the left. Looks like a global issue.

    #1482250
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Thanks for the heads up here – we’ll tweak the CSS in the theme to specific margin-top only.

    For now, you can just make the selectors more specific:

    .site-main .entry-content, .site-main .entry-summary, #comments {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
    #1482333
    Oleksiy

    Thanks, Tom. It works.

    Suddenly I’ve figured out that GP has moved to flexbox πŸ™‚
    Now I’m a bit confused with the usage of styles.css in the child theme. Is this file now overwriting css rules in all files in “assets -> css” folder of the parent theme?

    #1482508
    Tom
    Lead Developer
    Lead Developer

    Your child theme usage shouldn’t change at all – are you noticing any issues? πŸ™‚

    #1482532
    Oleksiy

    No. Looks like nothing is broken at the moment.

    #1483609
    Tom
    Lead Developer
    Lead Developer

    Awesome, you should be good to go then πŸ™‚

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.