The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
alignment mismatch ...
 
Share:
Notifications
Clear all

[Solved] alignment mismatch in mobile view

6 Posts
2 Users
2 Reactions
477 Views
Posts: 6
Topic starter
(@karthic)
Active Member
Joined: 2 years ago

In the pic (mobile view), you can see that the text is below the avatar but I want it to align with the avatar like on the desktop.

Screenshot 2023 07 23 203200
5 Replies
Asti
Posts: 7617
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

@karthic,

The avatars on mobile screens should be hidden. Seems you've added a custom code to display those If so, please find and remove it. 

If you can't find the code (it may be a CSS conflict with the theme or other plugins), use this CSS code:

@media screen and (max-width: 600px){
   #wpdcom.wpd-layout-1 .wpd-comment .wpd-avatar {
       display: inline-block;
    }
}

Put the code in the "Custom CSS code" textarea, located in the Dashboard > wpDiscuz > Settings > Styles & Colors admin page.

Don't forget to delete the caches before checking.

Also, please try in incognito mode if you're checking on mobile devices. Because mobile browsers have a hard cache, you'll not be able to see the change immediately.

1 Reply
(@karthic)
Joined: 2 years ago

Active Member
Posts: 6

@asti Hiding the avatar on mobile is a good choice. Can you please give me the css code for that

Asti
Posts: 7617
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

@karthic,

Here it is: 

Posted by: @asti

If you can't find the code (it may be a CSS conflict with the theme or other plugins), use this CSS code:

@media screen and (max-width: 600px){
   #wpdcom.wpd-layout-1 .wpd-comment .wpd-avatar {
       display: inline-block;
    }
}

Put the code in the "Custom CSS code" textarea, located in the Dashboard > wpDiscuz > Settings > Styles & Colors admin page.

 

2 Replies
(@karthic)
Joined: 2 years ago

Active Member
Posts: 6

@asti Thank you. I made it display none for the avatar in the mobile view and it looks much better

Asti
 Asti
Support
(@asti)
Joined: 7 years ago

Illustrious Member
Posts: 7617

@karthic,

We're going to mark this thread as resolved and close it. Feel free to open a new topic if you have further questions.

Share: