mgroeteke Posted May 28 Posted May 28 Is it possible to add a title as h1 or h2 text on top of the gallery page for the Wells template. My example gallery page is https://architectureshooting.com/ausstellungsfotografie Any tips are very appreciated! markus/architectureshooting web site: http://architectureshooting.com
tuanphan Posted May 31 Posted May 31 You can use this code to bottom of Code Injection > Footer <script> $(document).ready(function(){ $('<h1 class="custom-h1">Markus Ausstellungsfotografie</h1>').insertBefore('body#collection-5702bb41859fd052a94c01d4 div#galleryWrapper'); }); </script> <style> body#collection-5702bb41859fd052a94c01d4 div#galleryWrapper { top: 100px; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
mgroeteke Posted May 31 Author Posted May 31 Thank you so much, that's what I need! But I need a few small fixes. Unfortunately, now my image title and capture are also shifted down by the new line and are partially off screen when switched to single image / slide show mode, see screenshot. The user would need to scroll down a bit to see them. A good solution for me would be if the new title would be active only when in thumbnail overwiev mode on the gallery page. Is this possible? Also, is there a way to align the new title in my layout? I would like to have the text aligned to the top white border of my design, as in the following screenshot. markus/architectureshooting web site: http://architectureshooting.com
Solution tuanphan Posted June 2 Solution Posted June 2 Use this new code to Website > Website Tools > Custom CSS box body#collection-5702bb41859fd052a94c01d4 #page:before { content: "Markus Ausstellungsfotografie"; position: absolute; z-index: 99999; top: 0; } mgroeteke 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment