Error With Mobile Theme Plugin

Posted in: Newspaper
Post count: 73

Please note when mobile theme plugin is activated then the author name is not coming…below screenshot will help to understand.

https://s9.postimg.org/skfb1ud7z/Image_1.png

But when we disable the mobile theme plugin then it works fine but few issue that we need to address…

https://s10.postimg.org/917osrz09/Image_2.png

First, there a small dash is coming after author name. How to remove it..?

Second, views are coming on right corner how to shift it to near author name>

Post count: 22421

Hello,

Sorry for the inconvenience. There seems to be a css issue in the new update on the mobile theme. Please use this css code in the mobile theme’s custom code box:

.td-post-author-name div { display:inline; }

Thank you for your understanding!

Post count: 73

Thanks Bogdam!

It solve the issue but following two things needs to be address…

First, there a small dash is coming after author name. How to remove it..?

Second, views are coming on right corner how to shift it to near author name?

Post count: 22421

Hi,

The dash is there because you removed the post date with css maybe but did not remove the dash. If you remove post date from the theme panel then the dash will also be removed. Please use this css for the dash:
.td-author-line{
display:none!important;
}

This will remove the dash on desktop as well so if you want to target only mobile devices you ned to use media queries:
@media(max-width:767px){
.td-author-line{
display:none!important;
}}

As for the views, you can customize them to position left with this code:

.td-post-comments, .td-post-views{
float:left!important;
}
.td-post-comments{
margin-right:8px;
}

and again if you want it only on mobile:
@media(max-width:767px){
.td-post-comments, .td-post-views{
float:left!important;
}
.td-post-comments{
margin-right:8px;
}}

However I have only tested this css on the default post template. Different post templates can have different results so you will have to target each post template with it;s unique class in order to get the css right on all of them.

Thanks.

Post count: 73

Thanks Bogdan!

You can mark the topic close.

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