Grid Layout

Home Forums Corporate Key Grid Layout

This topic contains 16 replies, has 3 voices, and was last updated by  Axle Themes 7 months, 1 week ago.

Viewing 7 posts - 11 through 17 (of 17 total)
  • Author
    Posts
  • #724

    Axle Support
    Moderator

    Hello,

    The update is live now and the issue is fixed.

    Thank you for having patience.

    Regards.

    #727

    Modery
    Participant

    I updated the theme. From what I can tell two things happened:
    1) a <header><h1/></header> was added into the <main> tag
    2) the logic for the even/odd elements was reversed
    1.0.3:

    body.blog #primary .site-main article:nth-child(even),
    body.archive #primary .site-main article:nth-child(even) {
        clear: both;
    }
    body.blog #primary .site-main article.layout-grid:nth-child(odd),
    body.archive #primary .site-main article.layout-grid:nth-child(odd)
      {
        margin-right: 0;
    }

    1.0.4:

    body.blog #primary .site-main article:nth-child(even),
    body.archive #primary .site-main article:nth-child(even) {
            margin-right: 0;
    }
    body.blog #primary .site-main article.layout-grid:nth-child(odd),
    body.archive #primary .site-main article.layout-grid:nth-child(odd)
      {
        clear: both;
    }

    So basically, it still looked the same.
    I’m using the following custom CSS at the moment to use the 1.0.3 style logic, so that it looks ok:

    /* temp styles until theme has been fixed */
    body.blog #primary .site-main article:nth-child(even),
    body.archive #primary .site-main article:nth-child(even) {
        clear: both;
    		
    }
    
    body.blog #primary .site-main article.layout-grid:nth-child(odd),
    body.archive #primary .site-main article.layout-grid:nth-child(odd)
      {
        margin-right: 0;
    	clear:none;
    }
    
    body.blog #primary .site-main article.layout-grid:nth-child(even),
    body.archive #primary .site-main article.layout-grid:nth-child(even)
      {
    	margin-right: 4%;
    }
    #728

    Axle Themes
    Keymaster

    You can now remove the custom CSS and update your theme to 1.0.4.
    The issue has already been fixed.

    If you have any more queries please do not hesitate to create a new topic.

    #729

    Modery
    Participant

    Hi,

    I updated to 1.0.4 this morning, however the issue still exists. As I pointed out above, the odd/even logic in the style.css was reversed in 1.0.4, but additionally I’ve not got an additional <header/> tag inside my <main> tag. This means that the updated CSS has the same effect again as the previous one.

    #730

    Axle Themes
    Keymaster

    Sorry again, there was a small problem with the css rendering.
    Now we have fixed all the issues on 1.0.5 thank you for having patience with us.

    Regards.

    #759

    Modery
    Participant

    Great, it’s working now!
    Many thanks!

    #761

    Axle Themes
    Keymaster

    Hello,

    If you like our theme and our service please help rate our theme on WordPress repo at https://wordpress.org/support/theme/corporate-key/reviews/#new-post

    Regards.

Viewing 7 posts - 11 through 17 (of 17 total)

You must be logged in to reply to this topic.