Jump to content

How to add Text Block on Events Page

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

1 hour ago, madzie said:

Site URL: https://www.philippinestravelguides.com/events-calendar

Hi,

I want to add a Custom Text -header tag (H1) on this page https://www.philippinestravelguides.com/events-calendar (Pass- HOPPFCL) not sure how to do that can anyone help on here?

Thanks

Is it the result you want to achieve?

image.thumb.png.d7df9fab8da2352d005c1ce200c78715.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

You can try the following solutions:

- Adding to Home > Design > Custom Css

#collection-61f919eda8292f28d10bc519 .sqs-events-collection-list:before {
  content: 'Hello this is my title';
  display: flex;
  justify-content: center;
  color: red;
  font-size: 30px;
}

- Adding new section above your event section and we can decrease the height of section

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
18 hours ago, madzie said:

or solving it but I need to add them as H1 tag the code which you shared doesnt shows them within H1 tag, also one last help on events section, all my events title are appearing as H1 tag could you please help me how do i change to H2 tag?

Add to Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
  $(document).ready(function() { 
		$('<h1 class="custom-text">Philippines Events & Festivals</h1>').insertBefore('#collection-61f919eda8292f28d10bc519 div.sqs-events-collection-list');
	});
</script>
<style>
  h1.custom-text {text-align:center;}
</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!)

Link to comment
21 hours ago, tuanphan said:

Add to Settings > Advanced > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script>
  $(document).ready(function() { 
		$('<h1 class="custom-text">Philippines Events & Festivals</h1>').insertBefore('#collection-61f919eda8292f28d10bc519 div.sqs-events-collection-list');
	});
</script>
<style>
  h1.custom-text {text-align:center;}
</style>

 

Thank you so much @tuanphan for this piece of code. Much appreciated. Thanks once again

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.