-
AuthorPosts
-
January 27, 2015 at 9:49 am #192727
Hi I am having trouble centering a form. If I do center-text it centers the titles too! I just want to center the block.
Thanks for your help!
January 27, 2015 at 9:18 pm #193123I need to center a text element without centering the text. just the element.
Thanks!
January 27, 2015 at 9:19 pm #193124This reply has been marked as private.January 28, 2015 at 1:12 am #193204Hey Rebeca,
Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.
Thanks.
January 28, 2015 at 12:27 pm #193615Hey thanks!
I would like to center a form. But I don’t want to center all the elements inside.
for example if I use a table that has text in it and I center the table, the text remains untouched or with the same format.
I don’t seem to be able to center a “content band” or “column” without altering the content.
January 29, 2015 at 6:47 am #194301Hi there,
In that case, you can use maximum width with auto margin left and right. So your CSS should look like:
max-width: 500px; margin-left: auto !important; margin-right: auto !important;
This should go in the Style field of the section you want to center, that is, in your case a content band (see: http://prntscr.com/5y2kw7).
Hope this helps. 🙂
Thank you.
January 29, 2015 at 10:18 am #194440Thanks for your help!
Would this be responsive?
January 29, 2015 at 1:04 pm #194553Hi there,
Yes, as we have used CSS
max-width
property instead of simplewidth
property, it should be responsive on all devices 🙂Cheers!
-
AuthorPosts