• Resolved Christian Rodríguez

    (@hanschristian)


    Hi,

    I’m not sure if it’s a bug, but sure is an interesting enhance for the plugin: the blog grid should be writen in a generic way in the plugin CSS. I mean:

    https://sextavision.es/tema/cnn-dinero/

    In that link (a tag archive page) the grid is working fine. The articles are resized with this CSS:

    media (min-width: 1220px)
    .tw-blog-grid.tw-blog-columns-3 #site-content .hentry {
        width: calc(33.3333% - 21.333px);
        margin-left: 32px;
    }

    It uses the tw-blog-grid class in the body. Ok.

    But the “problem” cames when I use a custom taxonomy like this one:

    https://sextavision.es/personaje/maria-lorca-susino/

    Or the search results page:

    https://sextavision.es/?s=susino

    There is no tw-blog-grid class in the body, so wouldn’t be better to use the “archive” class instead of “tw-blog-grid” to apply the grid style to all archive pages (search, categories, tags, custom taxonomies…)?

    Thanks for hearing!

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Twentig

    (@twentig)

    Hi @hanschristian,

    Thanks for the feedback and for sharing your ideas.

    Indeed the pages for the custom taxonomies attached to the “post” type should have the same layout as the main blog page. However, we can’t apply the CSS to the “archive” class as Twentig offers other blog layouts that aren’t grid-based. The solution is to add the blog layout class (“tw-blog-grid” in your case) also on the custom taxonomies pages. We’ll fix this for the next release (coming days).

    The search page is different as there are no featured images (Twenty Twenty removes them), and the search results display pages in addition to posts. Due to the way Twenty Twenty is coded, Twentig can’t add an option to replicate the same grid layout on the search page. Twentig only offers an option to display the search results as a simple list (Customizer > Twentig Theme Options > Page > Search Results Layout: Narrow Stack).

    Have a nice day.

    Plugin Author Twentig

    (@twentig)

    Since Twentig 1.0.5, the custom taxonomies pages attached to the post type get the same layout as the blog page.

    Thread Starter Christian Rodríguez

    (@hanschristian)

    Get it in the last update. THAAAANK YOU so much guys! Congrats for such a great plugin :-)))))

    Thread Starter Christian Rodríguez

    (@hanschristian)

    Hope to get some way to sort the search results page in a more useful design (more like a real search engine) as this feature is a big lack in 99% of WordPress themes. Just as a suggestion. Thank you one more time!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Blog grid “bug” on custom taxonomies’ is closed to new replies.