Hi chance you can tell me CSS to center my sidebar’s content and avoid this:
Hi There,
Please provide us with your website URL so we can take a closer look.
Thanks.
hi.
What you are seeing there is on a cellphone screen.
Hi There,
Please add the following CSS under Customizer > Custom > Global CSS:
@media (max-width: 767px){
.widget_media_image > div,
#category-posts-pro-9-internal .cat-post-item {
margin: 0 auto;
}
}
Let us know how it goes!
Hi.
Its a little odd.
This worked on my main subdomian:
but it does not do anything in my spanish subdomain:
Hi there,
Please update to:
@media (max-width: 767px){
.widget_media_image > div,
#category-posts-pro-9-internal .cat-post-item,
#category-posts-pro-10-internal .cat-post-item {
margin: 0 auto;
}
}
Hope this helps.
That did work.
Thank you.
You’re welcome.
Sorry Sorry Sorry!
You killed it with the spanish subdomain, but the main subdomain still not centered
Hi There,
Please update the previous CSS to this:
@media (max-width: 767px){
.widget_media_image > div,
.cat-post-item {
margin: 0 auto !important;
}
}
Let us know how it goes!
That did not do anything.
Odd your previous one works perfectly on my spanish subdomain.
Hi again,
Would you mind providing the URL of your main sub domain so we can take a look?
Thanks!
yes!
that is the main subdomain
I have another subdomain in Spanish: where the CSS is working perfectly
you can see it: doctablet.com/espanol
Hi,
You can try this code instead.
.x-sidebar .widget.cat-post-pro-widget {
text-align: center;
}
Hope that helps
That did the job!
Thank you!
You’re welcome.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.