Tagged: post slider
-
AuthorPosts
-
March 1, 2016 at 12:38 am #591260
Hi guys!!!
It’s me again!! :) I am almost finished with the most awesome Advanced Layout Builder page for posts ever! I only need to hide the blog-categories minor-meta from displaying on the Post Slider that I am using for Related Articles. (BTW, I added a Magazine one halfway through the article for mobile readers, they may not get to the end to go to another page – I want to test if I get an increase in average number of pages read) ;)
I added the copy of the code below, let me know if you need me to share admin credentials to see it. The post is not published as it would duplicate content and I’m using it to see what it would look like.
Thank you sooooooo much for all your help!!! :)
You are the absolute best!!!!
Warmly,
Havi :)
March 2, 2016 at 5:06 am #591864Hey havi,
That’s great, could you provide us with a link to the site in question so that we can take a closer look please?
Cheers!
RikardMarch 14, 2016 at 11:21 pm #598025Hi Rikard!!!
Of course! Here is goes: http://bodasyweddings.com/decoracion-de-bodas-en-rosa-cuarzo-azul-serenity/
Warmly,
Havi
March 17, 2016 at 6:57 am #599462Hey Havi!
Add the following code in the Quick CSS field under the General Styling tab in the theme options:
.blog-categories.minor-meta { display: none; }
Let me know if there is anything else I can assist with.
Cheers!
JordanMarch 18, 2016 at 4:02 am #600035Hi Jordan,
It worked too well. It eliminated them from everywhere. It even displays like this: “03/17/16/0 Comments / / by Bodas y Weddings” under the posts titles. It’s missing the categories there.
I just want them hidden when I use that particular slider to show related posts. :( Is it possible?
I can always add the code to the CSS on the child theme.
Thank you!!!
Warmly,
Havi
March 21, 2016 at 7:40 am #601082Hi!
Where can we find an example of the post slider? I checked the link above but it’s using the default editor. Please turn on the custom css class field. Edit the slider element that you want to modify then add a custom css class attribute. Use this class attribute as the css selector. http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
Regards,
IsmaelMarch 22, 2016 at 5:25 am #601671Hi Ismael,
It’s on the blog posts. Here is one example: http://bodasyweddings.com/como-maquillaje-de-labios-perfecto-duradero-trucos/At the bottom I added a slider with related posts.To the right of the Ad and above the newsletter sign-up. This way is closer to the end of the blog post to get more pageviews. (I also added another one like halfway with a different format)
Right now there are no categories showing because of the code added. Do you want me to remove the code? Or can we do display one? Instead of display none? The problem arises when a blog post belongs to many categories.
Warmly,
Havi
March 22, 2016 at 10:05 am #601776Hey!
Turn on the custom css class as described in the link above then edit the post slider. Add a custom css class attribute, “custom-postslider” for example then add this in the Quick CSS field:
.custom-postslider .blog-categories.minor-meta { display: none; }
The code above will remove the post meta info only for elements with the “custom-postslider” class attribute.
Best regards,
IsmaelMarch 24, 2016 at 9:26 pm #603424Hi Ismael!!! This is awesome!!!! Worked like a charm!!! I have to update the code on all of the pages but thank goodness it’s now and not later!! Woohooooo!!!
Thank you so much!!!!!! <3
Warmly,
Havi
-
AuthorPosts
- The topic ‘Hide blog-categories minor-meta’ is closed to new replies.