Hide Author on Certain Block?

Posted in: Newspaper
Post count: 45

Hello –

I am wondering if there is a way to hide the author for a certain block (I use block 21 on homepage)?

Currently I have “Show Author” turned off but I would like to show author for a particular category… I think it might be easier to turn it on and then hide it on the homepage blocks that I don’t want it to show.

Thx!

Post count: 6535

Hi

Try this css: http://screencast.com/t/gXw93kPe4

.td_block_21 .td-post-author-name{
display: none!important;
}

Thanks!

Post count: 18

Hello,

I would like to hide the author name for Block 1 for example, and I’ve used the css code you mentionned above but it’s not working (please see bottom section “Test” http://genres.paris)

Also, I’d like to hide the comment icon but only for block 1. Is it possible ?

Thank you !

Olivier

Post count: 22421

Hi,
The code above works only for block 21. It even starts with block 21’s class: (.td_block_21)
If you want to apply it to block 1 simply change the number from 21 to 1.
Thank you!

Post count: 18

Of course I did change that in the first place ! 😉
But it’s not working nevertheless (see the link I provided above)

Here the code I originally pasted :

.td_block_1 .td-post-author-name{
display: none!important;
}

Thanks!

Post count: 22421

Hi,
please clear your cache after you add the code in the custom css box or check if you closed all css tags in there because the code works on my end as expected: http://screencast.com/t/HvfftqTKq
Thank you!

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