Alexis
January 15, 2016 at 3:21 pm
I have several single ticket pages, each with its own
#tkt-slctr-tbl-1575,
#tkt-slctr-tbl-1752,
#tkt-slctr-tbl-1753
I would like all future added pages to automatically apply
(margin: 0 auto 0;)
as (margin: 0 auto 0;) will not work in (.tkt-slctr-tbl)
any suggestions?
Lorenzo Orlando Caum
January 15, 2016 at 6:10 pm
Add New Note to this Reply
Hi Alexis,
What are you wanting to accomplish? For example, are you wanting to center the ticket selectors that are used site-wide?
—
Lorenzo
Alexis
January 20, 2016 at 6:43 pm
Add New Note to this Reply
Yes, I want to be able to center all of the ticket selectors
Lorenzo Orlando Caum
January 21, 2016 at 11:07 am
Add New Note to this Reply
Hi Alexis,
The ticket selector is set to expand to the width of the page so centering shouldn’t be needed unless you have a fixed width setup.
Could you share a link to one of your pages so we can share feedback?
Thanks
—
Lorenzo
Alexis
January 22, 2016 at 1:40 pm
Add New Note to this Reply
Here is an example what it looks like first w/out changes
https://www.cprtrainingpro.com/classes/cpr-training-class/
Here is what it looks like if i add #tkt-slctr-tbl-1575 {margin: 0 auto 0;}
https://www.cprtrainingpro.com/classes/adult-cpraed-first-aid-certification/
I’m trying to figure out how to center the entire table automatically with every new event
Thanks!
Lorenzo Orlando Caum
January 22, 2016 at 1:54 pm
Add New Note to this Reply
Thanks Alexis.
Introduce the margin changes to an existing style that has display:block and it will work:
http://cl.ly/041k0N1k1i3T
/*#tkt-slctr-tbl-1575,*/ .tkt-slctr-tbl {
/*background-color: #F8F8F8!important;*/
padding: .75em!important;
display: block!important;
margin: 0 auto 0;
max-width: 25em!important;
}
I’ve just edited an existing entry in your child theme using my local web browser.
—
Lorenzo
Alexis
January 22, 2016 at 2:41 pm
Add New Note to this Reply
Thank you!
Lorenzo Orlando Caum
January 22, 2016 at 2:51 pm
Add New Note to this Reply
You are welcome. Enjoy your weekend!
—
Lorenzo