Posted: December 6, 2013 at 2:31 pm
|
On the event’s registration page I would like to add a label “Address” (which must be translatable) above the venue. In which file should I do this? Thank you in advance for your help. B D. |
|
Hi, registration_page_display.php |
|
Thank you. If I’m not mistaken, the label “Address:” is in reality already part of the venue block, but for some reason it doesn’t show up in my case. It this the code responsible for it? <?php |
If you go to Event Espresso -> Template Settings. Set ‘Display the address in the registration form?’ to Yes and ‘Save Options’ the venue address should be displayed. |
|
|
Thank you. The venue address is displayed in my registration form. The problem is only the label “Address:” which should show up above the address: it is this label that is missing/not visible. |
If you view the output page source can you see it there? |
|
|
Yes, it is there in the page’s code source, even translated (my site being in French). |
Sounds like there could be some CSS hiding a span with class section-title? |
|
|
It is indeed the case. I added .section-title {display:none;} to hide the “Description” label, but the undesired consequence is that the field “Address” get hidden as well. I suppose there is no specific css to only hide the “Description” label (so that “Address” stays visible)… |
You could try: .event_description .section-title { display: none; } |
|
|
This works wonders. Thank you very much. Problem solved now. |
No Problem 🙂 |
|
The support post ‘Label above venue’ 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.