text-align not working in custom css
-
I’m using Collapse-O-Matic version 1.7.1, and I’m trying to add custom CSS to the trigger text. Specifically, I would like the trigger link to be on the right side of the page. I can make many other properties work, like color, but text-align doesn’t seem to do anything.
I cannot post a link, as the wordpress page I’m working on is private and password-protected, but I’ll post copies of my code.
In the TEXT editor for the wordpress page, I have:
[expand title=”Example Image” trigclass=”exampleimage”]<img src=”wp-content/uploads/2016/06/example-image.png” />[/expand]
And under the custom style section of the Collapse-O-Matic settings, I have:
.exampleimage {
color: #ff00ff;
text-align: right;
}(I can’t seem to make the indent happen, but rest assured my color and text-align properties are indented.)
The color property (which I added as a test) works. The trigger text is fuchsia. But the text-align doesn’t do anything at all.
I appreciate any help you can offer. Thanks a ton! I love the plug-in otherwise.
- The topic ‘text-align not working in custom css’ is closed to new replies.