CSS / Centering - global vs page etc

Hello,

I’m trying to center something but i’m not sure if this should be in global or the page as both of them do nothing (link in the secure url). Trying to center

First name: <field> Email: <field>
submit button.

So I did this:

.w2llead top-aligned {
text-align: center !important;
}

however that doesn’t seem to do anything for global or page so i’m starting to think it might be a theme issue of where i’m putting it?

Hello @GarlicFox,

Thanks for writing in!

Your custom CSS code ins incorrect:

Based on the screenshot above, your code should be:

.w2llead.top-aligned {
    text-align: center !important;
}

Feel free to make adjustment as you need. Here are some related links for further reading, this could help you in finding and implementing some CSS fixes:

Intro to CSS - https://goo.gl/mFuWQT
How to get CSS selectors - https://goo.gl/BmoH39
Get Started With Viewing And Changing CSS - https://goo.gl/7xFhDa
CSS Media Queries - https://goo.gl/L3ZHNg

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.