cdbb11 Posted November 21 Share Posted November 21 Hello, I'm trying to add break line to my Project Page titles, i tried using <br>, but it doesn't work. Probably as i'm not allowed to add any Code Injection with my squarespace plan. Is there any way to add a break line with CSS? or even two ? Thank you for your help Website: https://sprout-maracas-928x.squarespace.com/exhibitions Code: 1234 Link to comment
tuanphan Posted Friday at 03:25 AM Share Posted Friday at 03:25 AM To make br tag work, first you need to add this code to Website > Website Tools > Code Injection > Footer (Footer, not Header) <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script> <script> $(document).ready(function(){ $("h3.portfolio-title").each(function(){ $(this).html($(this).text()); }); }); </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
cdbb11 Posted Friday at 09:06 AM Author Share Posted Friday at 09:06 AM Thank you so much @tuanphan but i do not have access to Code Injection as i only subscribed to the normal squareapce plan. Therefore is there anyway to solve it with some CSS? Thank you! Link to comment
paul2009 Posted Friday at 09:19 AM Share Posted Friday at 09:19 AM On 11/21/2023 at 4:06 PM, cdbb11 said: Is there any way to add a break line with CSS? No, you cannot do this with CSS. It requires scripting and so will require a Business Plan. About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment