oviedo93
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Images Won’t Center Align Even After Changing CSSCuriously, the solution I provided the day before yesterday was used in our last project with Elementor [link redacted] . One of the programmers had problems with centering, and with modifying the .css file with the text-align:center!important instruction; everything worked perfectly 😀
Sorry about yesterday’s signature, I saw you moderated it, it won’t happen again. Greetings. Carlos Pérez.
- This reply was modified 7 years, 6 months ago by Steven Stern (sterndata).
Hi. I’ve been using Elementor Pro frequently for the past few months. I had a similar problem and that is that loading any page I appeared blank when editing with elementor. The solution was this:
Elementor -> Settings -> Advanced -> Switch Editor Loader Methods -> Enable
I hope I’ve come up with the solution.
Greetings
[ Signature moderated ]- This reply was modified 7 years, 6 months ago by oviedo93.
- This reply was modified 7 years, 6 months ago by Steven Stern (sterndata).
Forum: Fixing WordPress
In reply to: Images Won’t Center Align Even After Changing CSSHello, sometimes these image centering problems can be solved with the !important tag after class. The keyword !important is used to give higher priority to an instruction, so that the following instructions cannot overwrite it. Sometimes you do well in a class, but you don’t overwrite an existing class.
My solution, therefore, is:
.wp-block-image .aligncenter, .wp-block-image .alignleft, .wp-block-image .alignright, .wp-block-image.is-resized {
display: block;
text-align:center!important;
}- This reply was modified 7 years, 6 months ago by oviedo93.
- This reply was modified 7 years, 6 months ago by oviedo93.
- This reply was modified 7 years, 6 months ago by Steven Stern (sterndata).