Hide author's box

Posted in: Newspaper
Post count: 114

Hi, related whit this topic: https://forum.tagdiv.com/topic/hide-authors-box-of-a-certain-author/
¿How can I hide the same author’s box in mobile? I’m using mobile theme.

Post count: 23312

Hello Sebastian Escobar,

You should use a bit of CSS code to do that. Try the code below and place it in Theme panel->Custom CSS Area.

@media (max-width:767px){
.author-box-wrap{
display:none!important;
}
}

Thanks.

Post count: 114

No, this don’t work.
I also tried with the last author box, because I hide the admin author’s box with:

.author-box-wrap.AdminName{
display:none;
}

and now with


@media
(max-width:767px){
.author-box-wrap.AdminName{
display:none!important;
}
}

It does not work either.
I still see the admin author box in mobile.

Post count: 23312

Hello Sebastian Escobar,

Please provide your specific URL from where exactly you want to hide your author box. I need this so I will be able to take a closer look and provide a more accurate response.

Thanks for the message!

Post count: 114

Hi, for example this page: http://chilecientifico.cl/chilecientifico/2017/04/12/videos/
in mobile view, I can see admin box at below.
This don’t show in desktop, because I have the specific style:
.author-box-wrap.Maricel7{
display:none;
}
But I can see it in mobile, look a sample here (I can’t send a url of a mobile view): http://chilecientifico.cl/chilecientifico/mobile-view.jpg

Post count: 23312

Hello Sebastian Escobar,

Do you want to show the author box in mobile mode? Try to use the code below and place it in Theme panel
-> Custom CSS area.

The code is ->

@media(max-width:767px){
.author-box-wrap.Maricel7{
display:block!important;
}
}

If is not what you mean, provide more details.

Thanks for the message!

Post count: 114

No, no
This is the same style I wrote above.
I don’t want to show the administrator box on the mobile.

So I took the same CSS that you sent me and I put display: none; instead of display:block!important;

But it’s still showing in mobile, and I want to hide it.
Thanks!

Post count: 20688

Hi,

The author box does not display on the post that you have provided, on desktop
https://www.screencast.com/t/jSuRuDkA6
Or on mobile – https://www.screencast.com/t/UItjuUeSia
The code that you entered is working properly, I do not see the author box present. Maybe you just needed to clear your cache if the code was not applying.

Thanks

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