Images do not Center Align on some pages
-
Hello!
For some reason I am not able to align images (CENTER align) on some pages.
HERE is the page; the green tiger pug should be centered.
Tried with image alignment and text alignment tools but it does not work. Is there something that is overwriting those tools?https://safarisenasia.com/especialistas/
Thank for your help
RalphThe blog I need help with is: (visible only to logged in users)
-
Hi Ralph, there appears to be a rule missing in the original CSS for the aligncenter class. Add this to your custom CSS to take care of the issue and I’ll file a bug report on it.
.aligncenter { margin-left: auto; margin-right: auto; display: block; } -
Thanks a lot!
The strange thing is that images center aligned on some pages and not on others. With that code the issue was solved.
Thanks!
R -
You are welcome. I’m not sure what is going on. I did file a bug report on it as I cannot find any aligncenter CSS rules in the original CSS. The good thing is, we have it fixed on your site right now.
-
Yes, correct, perfect!
You know, I am struggling with some text to align center as well. I have to add a dividing horizontal line, and then under it, the text will align center, otherwise it does not. Weird. As you say, there is bug thereThank you!
-
If you can point me to a place where the text is not center aligning without having the dividing line, I would be glad to take a look. I don’t thing that is associated with the image alignment issue. It may well be another bug.
-
Thank you …
On the following page you will see everything centered. However, if I take the dividing lines out, part, not all, part of the text will never center align
https://safarisenasia.com/informaciones/
Thank you
R -
Hi Ralph, I copied out that page content and pasted it into my test site with Demand theme active, and as long as I have the above CSS for align center, the text and images are properly center aligned.
-
-
-
- The topic ‘Images do not Center Align on some pages’ is closed to new replies.