Modery

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Grid Layout #759

    Modery
    Participant

    Great, it’s working now!
    Many thanks!

    in reply to: Grid Layout #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.

    in reply to: Grid Layout #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%;
    }
    in reply to: Grid Layout #719

    Modery
    Participant

    My Current settings:

    Front page displays: “Your latest posts”

    If I change that to: “A static page:” and define a page to be used for the blog posts, the grid layout works on that page

    in reply to: Grid Layout #714

    Modery
    Participant

    I found the difference between my blog and yours:

    Mine:
    <main id=main>
    <article/>
    <article/>

    </main>

    Yours:
    <main id=main>
    <header><h1 class=”page-title screen-reader-text”>Blog</h1></header>
    <article/>
    <article/>

    </main>

    And in style.css, you define:
    body.blog #primary .site-main article:nth-child(even),
    body.archive #primary .site-main article:nth-child(even){
    clear:both
    }

    If I remove the <header> from the DOM in your demo site, it looks the same as in my blog. How can I add it to my front page?

    in reply to: Grid Layout #692

    Modery
    Participant

    My website is https://modery.net
    I tested it with the autoptimize plugin activated as well as deactivated, no difference.

    in reply to: Grid Layout #690

    Modery
    Participant

    Hi,

    the latest available version is still 1.0.3, which doesn’t contain the fix (no change on my site after I updated to it on April 16). When will 1.0.4 be released?

Viewing 7 posts - 1 through 7 (of 7 total)