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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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

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
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.