Trending now on category

Posted in: Newspaper
Post count: 127

Hi, is it possible insert trending now on my page category, for example category MAC?
This is my web site: http://www.pcusb.it
This is my problem:

Post count: 127

One more question please:
I need news sticker seem of this:
http://www.resetweb.com
Is it possible?
Thanks

Post count: 22421

Hello,

Sorry but our news ticker does not have that kind of layout as seen on the site you mentioned.
There are only 2 styles available for the ticker: https://www.screencast.com/t/W8zpJViil
Categories cannot be edited like static pages using visual composer so you cannot add block elements to them unless you add them through coding.
Here is an example of a trending now block added through a do_shortcode function in the category top post files https://www.screencast.com/t/k9zFLrYkEg
Here is the code used: <?php echo do_shortcode('[td_block_trending_now tdc_css=""]'); ?>

Thank you!

Post count: 127

Thanks!!!

Post count: 127

It works!!!
Thanks….

Post count: 127
Post count: 22421

Hello,

Unfortunately I cannot see the issue because your screenshots do not work. Please be more explicit with oyur requests.

Thank you!

Post count: 127
Post count: 127

Post count: 127

Post count: 22421

Hi,

Sorry but no matter what i try, the dropbox link always returns this error: https://www.screencast.com/t/t64rsccQ Please use another platform as it seems it does not work. properly

Thanks.

Post count: 127

Post count: 127

Post count: 22421

Please provide more details. You are pointing out the trending now element, yes, but I do not understand what it is I’m supposed to help with. Please write an explanation.

Thank you!

Post count: 127

Hi Bogdan, thank you for your support.
This is my website:
http://www.pcusb.it
In my home the space between grid and header is correct, but in my page category “Mac” not.
I insert my news ticket with this code:
<?php echo do_shortcode(‘[td_block_trending_now tdc_css=””]’); ?>
Thanks and sorry for my English.

Post count: 20688

Hi,

You can apply some margin on the news ticker in the category page, like this code for example
https://www.screencast.com/t/sAFeG2rac9fr

.category .td_block_trending_now {
margin: -35px 0 24px;
}

Please try the code in Theme panel->Custom Css and see if it works properly for you.

Thanks

Post count: 127

It work!
Work already in a mobile version?

Post count: 127

https://www.screencast.com/t/9DwYBgZ6HhkB

  • This reply was modified 9 years by Ginfox.
  • This reply was modified 9 years by Ginfox.
Post count: 127

One more question please:
I used this code for align “trending now”:

.td-trending-now-wrapper {
padding-left: 25px;
}

But it not work in all category:
http://www.screencast.com/t/PUPzJDxdjp3

http://www.screencast.com/t/opMjIMEXU5qI

http://www.screencast.com/t/7rbb9yObM0

Any ideas?
Thanks

Post count: 20688

Hi,

This is how I am seeing the news ticker on the pages. I see no problem with the element
https://www.screencast.com/t/ZTOQzsVQmf
https://www.screencast.com/t/Wr8vhrRR78
https://www.screencast.com/t/UeCHEgX2pe
If you want the code you entered to apply only on the category pages as it should, please create it as shown in the previous reply. Use the category class in the code. The customization you made for the ticker in the category pages is affecting the homepage as well
https://www.screencast.com/t/OfqsuVlew
https://www.screencast.com/t/ksSLLoeu
Then it will display properly by default on the homepage
https://www.screencast.com/t/Upc5KHjiRd

Thanks

Post count: 127

Sorry, but I’m crazy:
This is my code css:

.td-page-title{
display:none!important;
}

.td-trending-now-wrapper .td-next-prev-wrap {
display: none!important;
}

.category .td_block_trending_now {
margin: -38px 0 24px!important;
}

.td-trending-now-wrapper {
padding-left: 25px!important;
}

.category .td-trending-now-wrapper {
padding-left: 25px!important;
}
My page in desktop version is perfect:

http://www.screencast.com/t/JbA5hkMH

My mobile page not:
Different space right-left on home:

http://www.screencast.com/t/nbM0t8pGEKu

Different space down in my categories:

http://www.screencast.com/t/YGBX6aTNpdp

Sorry for my insistence and thanks for all.

Post count: 127

Any ideas?

Post count: 127

Up….

Post count: 127

Maybe I need to change the responsive settings?

Post count: 20688

Hi,

Try inserting this code – https://www.screencast.com/t/qlgEQTvwfCz in the Advanced Css section in the theme panel
https://www.screencast.com/t/iUZj3aZqWOy
Just move it from that section to the desktop section in advanced Css. This way the code will apply only on desktop where it looks properly. The mobile look will not be affected anymore by this padding.
Then enter the code provided below to remove the padding bottom on the category pages
https://www.screencast.com/t/XmgWHSD7
You can enter the code normally, the padding appears only on mobile.

.category .td-category-grid .td_block_wrap {
padding-bottom: 0;
}

Thanks

Viewing 25 posts - 1 through 25 (of 26 total)
The forum ‘Newspaper’ is closed to new topics and replies.