Posted: February 29, 2016 at 10:42 pm
|
Hi there eg <div id=”espresso-notices”/> and… Following other post in the forum I already exclude the eeror notice code using this
return $display_errors; however I am not be able to eliminate the checkout style that is the one that is breaking the theme style.
Can you help me figure out a solution. EE is vital for me. |
|
for better view of the code
and
|
Hi Salvadore, It may help to know exactly what in the layout is broken when a few empty divs are added to the page. It’s likely there’s a style rule that’s counting the number of divs or child elements, and would be better tweaked to not rely on a set number of elements to target the right selectors. |
|
|
Josh. Thank you for your response. |
No emails please. You can send those details over a secure form and someone can take a look at your site and possibly offer a suggestion on how to fix your theme. |
|
|
Josh, I sent you by secure form the info. |
|
Josh, A summary of what I have done so far… (working hard on non working hours 🙂 ) 1. I discarded the “style rule that’s counting the number of divs or child elements” theory. Why? With EE inactive I added some divisions located on the index.php template in positions to render at same location of the checkout_anchor. It didn’t change anything in layout (layout ok). 2. If I change the -999em to 0 or a positive number to the checkout_anchor that solve the breaking error (done thru the chrome develop console). The checkout anchor are moving to the far left the series of posts. 3. Other non permanent solution due to the fact that will change if I upgrade to new version of EE in the future is as follow: If I wrap the checkout_anchor (that actually is just an element ) within <div></div> at your EE function: set_checkout_anchor(). It render in same position with in divisions and with not layout issues. This “solve” the issue. I hope this give you some light at the end of the tunnel to help me…. Let me know on your time! Salvador |
Hi Salvador, Could you update to the latest version of Event Espresso 4 please? https://eventespresso.com/wiki/ee4-changelog/ The feedback that we will share will be in testing with the current release. — |
|
@Salvaldore, Can you let us know where the actual breakage is happening on this other site? A URL and a screenshot would be most helpful to know where to start to look. |
|
|
Josh FRom this menu you navigate to categories… You get this page, at the bottom (bellow the title) the post should be THe checkout_tag breaking the line… I am updateing to latest version as Lorenzo requested… I will let you know here. |
|
A extra one showing in yellow where the checkout tag is located on page |
Hi Salvador, A quick fix for this is to add some custom CSS to hide the checkout element, like so: a#checkout { display: none; } We recommend using either the My Custom CSS or Reaktiv CSS Builder plugins to add custom styles such as these. The theme seems to be doing something add that is also causing EE to inject the checkout element multiple times within the page, which theme are you using? |
|
|
The theme is Herald from themeeforest. |
Can you send a copy to support[at]eventespresso.com so I can take a look? Depending on the file size you may need to host the file on something like dropbox and include the link within the email. |
|
|
Hi Tony, |
Hi Salvadore, Here’s the way to programmatically remove that checkout div that you can add to your theme’s functions.php file or into a site specific plugin:
|
|
|
Josh, Tony, and Lorenzo. |
You’re most welcome, Salvador. Thank you for the feedback, could you share you experience with Event Espresso? We have some examples of how you can do that here: https://eventespresso.com/about/help-us-help-you-how-to-share-event-espresso/ If not, that’s fine too but either way have a great day 🙂 |
|
The support post ‘Extra EE code being added to category pages are breaking the theme columns’ 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.