Support

Home Forums Community Forum How to target all future added ticketed events

How to target all future added ticketed events

Posted: January 15, 2016 at 3:21 pm

Viewing 7 reply threads


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

  • Support Staff

January 15, 2016 at 6:10 pm

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

Yes, I want to be able to center all of the ticket selectors


Lorenzo Orlando Caum

  • Support Staff

January 21, 2016 at 11:07 am

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

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

  • Support Staff

January 22, 2016 at 1:54 pm

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

Thank you!


Lorenzo Orlando Caum

  • Support Staff

January 22, 2016 at 2:51 pm

You are welcome. Enjoy your weekend!


Lorenzo

Viewing 7 reply threads

The support post ‘How to target all future added ticketed events’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso