Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1230567

    Hello,

    Which files should I edit to get the same layout than my blog post in the /category/ and /tag/ listing ? Also, if you know which part of the code I can replace/add to make it work it’s very welcome.

    On my blog post listing i’m using this option : Simple (Title and Metadata only).

    And that option isn’t available in the Enfold Theme Options.

    Best regards.

    #1231575

    Hey GiroudMathias,
    Sorry for the late reply, do you mean that you want your archive pages such as the category pages, to have the same layout as a page created by assigning a blank Classic Editor page as the place a blog will show in the theme options “And where do you want to display the Blog?”
    2020-07-19_135349.png
    I assume this because it the only place with the layout option “List Layout – Simple (Title and meta information only)”, for the option above it what do you have set for the “Blog Styling” option?
    2020-07-19_140145.png

    So when I test this the two pages look the same
    2020-07-19_141809.jpg
    Please check your settings to achieve the same.

    On a side note, if you wanted the archive & tag pages to match an Advanced Layout Builder blog page this filter will do that. The available layouts are single-small, single-big, blog-grid and multi-big.

    Best regards,
    Mike

    #1231669

    So yeah apparently it was that first suggestion I was looking for. As in my blog layout setting I had the advanced layout and I needed to use the simple option as you did.

    Thanks for you help.

    Can I ask here really fast where I can remove the title in the /tags/ listing ? it’s showing “Articles” (french) in that page and I’d like not to.

    #1231714

    Hi,
    Glad to hear this helped, I don’t have the word “articles” in my title, I have “Tag Archive for: [tag]”, please link to your page so I can examine the elements and offer a solution.

    Best regards,
    Mike

    #1231757

    Sorry I can’t link the website but here’s the class used for the “Articles” title, if it can help :
    <h3 class=”post-title tag-page-post-type-title”>Articles </h3>

    Also there’s a div above that h3 I’d like to remove if not used
    <div class=”category-term-description”></div>
    It’s adding 25px margin for nothing it seems like.

    Appreciate your help,
    Best regards

    #1232026

    Hi,
    If the h3 only contains the word “Articles” then try using css to hide it:

    #top.archive.tag h3.tag-page-post-type-title {
    	display: none;
    }

    This should work but I don’t have the class tag-page-post-type-title so this must be a custom class.

    Best regards,
    Mike

    #1232050

    Thanks, this works.

    I used this for my second question (for information) :

    
    .archive .category-term-description {
    	margin: 0;
    }

    Best regards.

    #1232128

    Hi,

    Did you need additional help with this topic or shall we close?

    Best regards,
    Jordan Shannon

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