• arskrigitsioniets

    (@arskrigitsioniets)


    Any custom posts and taxonomies have a default archive page that’s looks OK, but it’s not mobile adaptive unlike standard archive pages in Hueman. Any ideas how to fix it?

Viewing 1 replies (of 1 total)
  • Thread Starter arskrigitsioniets

    (@arskrigitsioniets)

    So, it seems that it happens because custom post types have additional style for body that look like

    post-type-archive post-type-archive-<your-custom-post slug>

    The similar situation with custom taxonomies. I have no idea why it happens, but I’ve found a workaround. Just add the following code to styles.css:

    @media (max-width: 780px) {.post-type-archive .post-list .grid-item, .post-list .page, .post-list .post
    {
    width:100%;
    }
    
    .post-type-archive .hu-pad group
    {
    15px 15px 5px;
    
    }
    }
    
    @media (max-width: 780px) {.archive .post-list .grid-item, .post-list .page, .post-list .post
    {
    width:100%;
    }
    
    .archive .hu-pad group
    {
    15px 15px 5px;
    
    }
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Custom post/taxonomies archive page is not mobile adaptive’ is closed to new replies.