Posted: August 27, 2015 at 9:36 am
|
Sorry, I thought I was done on this topic, but it looks like I need to reopen it: https://eventespresso.com/topic/display-venue-details-without-showing-a-map/ I’ve just discovered something quirky. Though everything’s looking “elegant” on these pages: http://www.cpr-twincities.com/upcoming/combo/ … but it’s not laying out properly on this page: http://www.cpr-twincities.com/upcoming/bls/ The Register Now button is out of place. Any idea why that’s happening and how to fix it? |
Hi John, Update the custom CSS for “.spco-whats-next-buttons input, .spco-whats-next-buttons input, .ticket-selector-submit-btn { color: #fff; border-width: 2px; border-color: #ff0000; padding: 1em; background: #29aac0; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; cursor: pointer; background: -webkit-gradient(linear, 0% 50%, 0% 31%, from(#25A2F1), to(#3DB8FE), color-stop(.9,#3DB8FE)); background: -moz-linear-gradient(24% 21% 270deg,#3DB8FE, #3DB8FE, #25A2F1 50%); -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.4); -moz-box-shadow: 0 1px 1px rgba(0,0,0,.4); box-shadow: 0 1px 1px rgba(0,0,0,.4); text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.4); border: 1px solid #25A2F1; float:right; } The button should then position itself in the right area under the ticket selector. — |
|
|
You’re a magician, Lorenzo. That worked perfectly. While I have you here, can you work magic with this page, too: http://www.cpr-twincities.com/upcoming/firstaid/ Is there a way to make the following description drop down a tiny bit, so it’s not so crowded:
|
Hi John, what specific change are you trying to make there? Are you trying to move that block of text down or are you trying to reduce the width? — |
|
|
Very interesting question, Lorenzo. I was thinking of moving the block down. But reducing the width would probably also accomplish the goal of separating elements. Let’s go with your suggestion. I think that will look better. If possible, please shoot for a distance between the description text and the “Register Now” button to be approximately the same as the distance between the “Register Now” button and the quantity selector above. |
Hi John, Try this line of CSS in your custom CSS plugin: .espresso_events div.event-content {padding-top:30px} Feel free to increase the px value (e.g. 30px) to increase the spacing or reduce it to reduce the spacing. — |
|
|
Lorenzo, would that go somewhere within the .spco-whats-next-buttons input, |
|
I tried again, and this time it allowed me to place that code separately. I played around with the px value and got it pretty well balanced at 20px. If I wanted to try the other idea you suggested (“reduce the width” of the class description), how would that be accomplished? |
|
Hi, If you’re just trying to change the width of the text block it would be:
You can use px instead of percent if you wish (e.g. 400px). Also you may want to centre it:
|
|
Excellent suggestions, Dean. I tweaked it a bit and ended up with this: .event-content { And I set the following to zero, rather than deleting it altogether, just to remind me where to adjust this element later, should I ever want to tweak it more: .espresso_events div.event-content {padding-top:00px} You Event Espresso guys have been outstanding, as usual! The contrast between your technical support and that provided by my theme developer (MySiteMyWay) couldn’t be more drastic. Theirs is seriously worthless. I think about leaving them pretty much every day. I even started looking at Iced Mocha last week. But the time and expense in converting my site to something better would overwhelm me. Still, I can dream. Thanks once again! Case closed. |
Hi John, There is an extra zero on the second CSS that you mentioned: .espresso_events div.event-content {padding-top:00px} Try using this instead: .espresso_events div.event-content {padding-top:0;} — |
|
|
Thanks, Lorenzo. |
The support post ‘Display Venue Details … Without Showing a Map (Revisited)’ 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.