-
AuthorPosts
-
July 15, 2020 at 11:54 am #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.
July 19, 2020 at 8:26 pm #1231575Hey 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?”
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?
So when I test this the two pages look the same
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,
MikeJuly 20, 2020 at 10:00 am #1231669So 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.
July 20, 2020 at 2:11 pm #1231714Hi,
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,
MikeJuly 20, 2020 at 3:34 pm #1231757Sorry 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 regardsJuly 21, 2020 at 1:40 pm #1232026Hi,
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,
MikeJuly 21, 2020 at 4:52 pm #1232050Thanks, this works.
I used this for my second question (for information) :
.archive .category-term-description { margin: 0; }
Best regards.
July 22, 2020 at 12:02 am #1232128Hi,
Did you need additional help with this topic or shall we close?
Best regards,
Jordan Shannon -
AuthorPosts
- You must be logged in to reply to this topic.