Support

Home Forums Event Espresso Premium Customization Fix

Customization Fix

Posted: January 14, 2016 at 3:18 pm


Matt & Cindra McCoy

January 14, 2016 at 3:18 pm

Hey Lorenzo,

Something changed with the customizations that you made to my events. I am not sure if the change happened with the latest update or what.

When you go to http://www.artnookaiken.com/eat-drink-art/ the events button that says “view details” is a different font. Then when you click on the “view details” you can see that there is something weird happening within the event box about “related classes.” This needs to be removed right away.

The different font in the buttons continues throughout the checkout process.

Please help.

Again, thought we created a child theme to prevent changes with updates. Why do I keep getting changes then?


Lorenzo Orlando Caum

  • Support Staff

January 14, 2016 at 6:02 pm

Hello,

The child theme that was setup made changes to specific styles to the parent theme through new CSS styling. If the theme author makes a change to something that the existing CSS was previously targeting, then that change would no longer work.

I see that the font family that is set is now Raleway which isn’t something that we added.

The following CSS will override the font style:

.espresso_events input[type=submit] { font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; }

If you would prefer the times new roman style instead, then please use this:

.espresso_events input[type=submit] { font-family: 'Palatino Linotype'; }


Lorenzo


Matt & Cindra McCoy

January 14, 2016 at 7:05 pm

Where do I put this code? And what about the “related classes” that is showing up when you click on “show details”?


Lorenzo Orlando Caum

  • Support Staff

January 15, 2016 at 8:30 am

Hello,

That can be added to the Custom CSS area.

Related events is not from Event Espresso and is coming from JetPack. Try turning that option off through JetPack settings.


Lorenzo


Matt & Cindra McCoy

January 16, 2016 at 9:03 am

Ok. Turning off the related events in jetpack worked. But the code you gave did not work. Can you please help?


Lorenzo Orlando Caum

  • Support Staff

January 18, 2016 at 7:52 am

Hi,

Which font family are you trying to use for the button to replace the existing Raleway font? Is it Arial or Palatino Linotype (looks like Times New Roman)?


Lorenzo


Matt & Cindra McCoy

January 18, 2016 at 6:02 pm

I don’t know. You never told me the font type when you were doing the customizations. But you made it to match some of the other buttons in checkout.


Lorenzo Orlando Caum

  • Support Staff

January 19, 2016 at 6:30 am

Could you provide a screenshot of the font that you are trying to match?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots

Thanks


Lorenzo


Matt & Cindra McCoy

January 19, 2016 at 8:14 am

http://www.artnookaiken.com/wp-content/uploads/2016/01/Screen-Shot-2016-01-19-at-10.07.39-AM.png


Lorenzo Orlando Caum

  • Support Staff

January 19, 2016 at 10:23 am

Hi, this CSS should take care of the button styling:

.espresso_events .ticket-selector-submit-btn.ticket-selector-submit-ajax {
background: #008080;
color: #FFFFFF !important;
padding: 10px;
border: none;
font-weight: bolder;
font-size: medium;
font-family: Arial, Helvetica, sans-serif;
}

http://cl.ly/3h2F2S0J3f1m

Add it to my custom CSS and save changes.


Lorenzo


Matt & Cindra McCoy

January 19, 2016 at 10:28 am

Hi Lorenzo,

Sorry to keep this going. It seems like it should be a simple fix but that did not fix it.

Also I noticed this time around that it is not just the font the whole button functions differently. For example when you scroll over it changes color and gets a drop shadow which it is not supposed to be doing.

Please help.


Lorenzo Orlando Caum

  • Support Staff

January 19, 2016 at 2:14 pm

Alright, I edited the my custom CSS file locally in my web browser and this should fix the styling so it matches all the buttons with the same font and color:

.espresso_events input[type=submit], .espresso_events .ticket-selector-submit-btn  {
    background: #008080;
    color: #FFFFFF !important;
    padding: 10px;
    border: none;
    font-weight: normal;
    font-style: normal;
    font-size: medium;
    font-family: Arial, Helvetica, sans-serif;
}

Here is how it appears:

http://cl.ly/242n0L202E1O

Please replace the most recent entry in My Custom CSS with the one above.


Lorenzo


Matt & Cindra McCoy

January 20, 2016 at 8:55 am

Ok so I replaced the code and went to go look at it. And it is looking better but still has a bit of a drop shadow upon scroll over. I wanted to go through a registration to see how it compared to other buttons but for some reason it lets me add it to cart but it will not let me proceed from there. It says I don’t have anything in my cart. Please help.

http://www.artnookaiken.com/events/level-two-homeschool-ages-8-10/


Matt & Cindra McCoy

January 20, 2016 at 9:05 am

https://www.artnookaiken.com/wp-content/uploads/2016/01/Screen-Shot-2016-01-20-at-10.50.05-AM.png


Matt & Cindra McCoy

January 20, 2016 at 10:55 am

Ok so I am not sure why I wasn’t able to go through a registration and checkout this morning but I just tried again and it worked. So now the buttons on all the events are correct but the buttons throughout registration are not. See screen shot.

https://www.artnookaiken.com/wp-content/uploads/2016/01/Screen-Shot-2016-01-20-at-12.47.47-PM.png


Lorenzo Orlando Caum

  • Support Staff

January 20, 2016 at 11:08 am

Okay, two more changes.

Replace the CSS entry at the end of the My Custom CSS area with this:

.espresso_events input[type=submit], .espresso_events .ticket-selector-submit-btn {
    background-color: #008080;
    color: #FFFFFF !important;
    padding: 10px;
    border: none;
    text-shadow: none;
    box-shadow: none;
    font-weight: normal;
    font-style: normal;
    font-size: medium;
    font-family: Arial, Helvetica, sans-serif;
}

Next, there is another entry further up the My Custom CSS area that handles the buttons for the multiple event registration add-on (e.g. shopping cart buttons).

It starts with this:

a.cart-results-go-back-button.cart-results-button.button.close-modal-js,
a.cart-results-register-button.cart-results-button.button, a.cart-results-view-cart-lnk.view-cart-lnk.cart-results-button.button,
a.mini-cart-view-cart-lnk.view-cart-lnk.mini-cart-button.hide-me-after-successful-payment-js.button,
a.mini-cart-register-button.mini-cart-button.button, a.event-cart-button.button,
a.cart-results-go-back-button.cart-results-button.button, .button.button-primary.ee-promo-combo-submit

Replace that entire entry with this updated CSS:

a.cart-results-go-back-button.cart-results-button.button.close-modal-js,
a.cart-results-register-button.cart-results-button.button, a.cart-results-view-cart-lnk.view-cart-lnk.cart-results-button.button,
a.mini-cart-view-cart-lnk.view-cart-lnk.mini-cart-button.hide-me-after-successful-payment-js.button,
a.mini-cart-register-button.mini-cart-button.button, a.event-cart-button.button,
a.cart-results-go-back-button.cart-results-button.button, .button.button-primary.ee-promo-combo-submit {
    background-color: #008080;
    color: #FFFFFF !important;
    padding: 10px;
    border: none;
    text-shadow: none;
    box-shadow: none;
    font-size: medium;
    font-family: Arial, Helvetica, sans-serif;
}

Those changes should remove the drop shadow on hover.


Lorenzo


Matt & Cindra McCoy

January 20, 2016 at 11:21 am

Ok. So the first set of code worked. The second set of code did not but I am not sure if I did it right. Here is what was there originally https://www.artnookaiken.com/wp-content/uploads/2016/01/Screen-Shot-2016-01-20-at-1.17.49-PM.png

And here is after I pasted.

https://www.artnookaiken.com/wp-content/uploads/2016/01/Screen-Shot-2016-01-20-at-1.19.04-PM.png


Lorenzo Orlando Caum

  • Support Staff

January 20, 2016 at 12:54 pm

That is correct on the second style. It introduces a style to drop the shadow on the button that your parent theme is introducing.

What page can I see the remaining issue with the button?

Thanks


Lorenzo


Matt & Cindra McCoy

January 20, 2016 at 2:05 pm

Go to https://www.artnookaiken.com/events/private-canvas-cork-cindra-mccoy/ choose a quantity and then hit proceed to registration. The issue is on the bottom of the registration form.


Lorenzo Orlando Caum

  • Support Staff

January 20, 2016 at 4:34 pm

Replace the last entry in My Custom CSS with this:

.espresso_events input[type=submit].ticket-selector-submit-btn, input[type=submit].spco-next-step-btn {
    background-color: #008080;
    color: #FFFFFF !important;
    padding: 10px;
    border: none;
    text-shadow: none;
    box-shadow: none;
    font-weight: normal;
    font-style: normal;
    font-size: medium;
    font-family: Arial, Helvetica, sans-serif;
}


Lorenzo

The support post ‘Customization Fix’ 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