Support

Home Forums Event Espresso Premium Switch styling on the Add Event to Cart pop up?

Switch styling on the Add Event to Cart pop up?

Posted: October 15, 2015 at 9:51 am


denise

October 15, 2015 at 9:51 am

Sorry if I already posted this, I can’t seem to find my post if I did.

I would like to change the sequence of the Pop Up screen, specifically the “Return to Events List” and “Proceed to Registration” these buttons should be swapped to be more intuitive to the user.

Can this be done?


Lorenzo Orlando Caum

  • Support Staff

October 15, 2015 at 11:04 am

Hi, the arrangement is modeled after other shopping carts.

Generally the go to checkout link is shown in the right area of the screen and the continue shopping link is shown on the left.

You can switch it by using some CSS in your theme’s stylesheet or through a plugin like My Custom CSS:

.cart-results-button-spn span.dashicons.dashicons-arrow-left-alt2, .cart-results-button-spn span.dashicons.dashicons-arrow-right-alt2 {display:none;}
a.cart-results-go-back-button.cart-results-button.button.close-modal-js {float:right;}


Lorenzo


denise

October 15, 2015 at 11:36 am

What you said is exactly what I want!… Checkout on the right go back on the left. But it isn’t that way it shows up on my screen? is something else going on?

http://miyceramics.com/events/wine-glass-painting/


denise

October 15, 2015 at 11:38 am

Yes this works!!! Can we get the times or class descriptions to show or only the images?

Thanks again!


denise

October 15, 2015 at 11:39 am

Ignore the previous comment wrong post: this is where were are on this post:

What you said is exactly what I want!… Checkout on the right go back on the left. But it isn’t that way it shows up on my screen? is something else going on?
http://miyceramics.com/events/wine-glass-painting/


Lorenzo Orlando Caum

  • Support Staff

October 15, 2015 at 2:41 pm

Hi, is this the current order without the sample CSS that I shared earlier?

http://cl.ly/image/123q3H47331R

If so that is not the correct order and this CSS will correct it:

a.cart-results-go-back-button.cart-results-button.button.close-modal-js

Here is what it should look like afterwards:

http://cl.ly/image/421Q3u0z3y30


Lorenzo


denise

October 15, 2015 at 8:08 pm

Hi Lorenzo,

I added this CSS:
a.cart-results-go-back-button.cart-results-button.button.close-modal-js

But when I check out it still looks like:

http://cl.ly/image/123q3H47331R

Thanks
Denise


Tony

  • Support Staff

October 16, 2015 at 3:30 am

Hi Denise,

By default the cart should look like this – http://take.ms/NK2MR

The reason it is not currently is because your theme is floating the buttons – http://take.ms/EaOXp

Styles.css is from your theme, so we need to override that for the EE buttons within the cart.

Remove the code Lorenzo previously provided above and use something like this:

.cart-results-button {
    float: none;
}

We recommend using either the My Custom CSS or Reaktiv CSS Builder plugins to add custom styles such as these.

Does it then load the buttons correctly?


denise

October 16, 2015 at 11:50 am

YEAH! That works! Thanks!

The support post ‘Switch styling on the Add Event to Cart pop up?’ 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