Jump to content

Code to create a title in blocks

Recommended Posts

Posted (edited)

Hello everyone,

can you tell me how to modify the code of the blocks to integrate a header tag in those which do not have one? I don't know this platform well enough yet and I can't find access.

Thanks in advance.

Edited by Elodie_Lenoir
Link to comment
On 7/4/2024 at 6:41 PM, Elodie_Lenoir said:

Hello everyone,

can you tell me how to modify the code of the blocks to integrate a header tag in those which do not have one? I don't know this platform well enough yet and I can't find access.

Thanks in advance.

Please share your URL and have some images to describe your issues more clearly. It could help us to quickly to findout the solution

Press 👍  or mark my comment as solution if you find my sharing useful

🆒 Squarespace pinchzoom lightbox plugin (affiliate link)

👁‍🗨 360 degree photo viewer (affiliate link)

Link to comment
On 7/6/2024 at 6:25 PM, HoaLT said:

Veuillez partager votre URL et avoir quelques images pour décrire vos problèmes plus clairement. Cela pourrait nous aider à trouver rapidement la solution

Hello,

Thank you for your attention. This is the URL of the home page of my site: https://eloredac.com
On the attached image (photo 1), a block that I've added but whose title doesn't have a specific "header" tag. When I enter the module (photo 2), there's nothing to add the tag.
So I'm having problems with the structure of my pages.

Thank you in advance for your feedback.
Elodie.

photo 2.PNG

photo 1.PNG

Link to comment
Posted (edited)
On 7/8/2024 at 10:53 PM, Elodie_Lenoir said:

Hello,

Thank you for your attention. This is the URL of the home page of my site: https://eloredac.com
On the attached image (photo 1), a block that I've added but whose title doesn't have a specific "header" tag. When I enter the module (photo 2), there's nothing to add the tag.
So I'm having problems with the structure of my pages.

Thank you in advance for your feedback.
Elodie.

photo 2.PNG

photo 1.PNG

Header tag mean a sub-text below the title of this block, right?

image.thumb.png.5574b310722f6521f7ab3b51897a78b8.png

Edited by HoaLT

Press 👍  or mark my comment as solution if you find my sharing useful

🆒 Squarespace pinchzoom lightbox plugin (affiliate link)

👁‍🗨 360 degree photo viewer (affiliate link)

Link to comment
22 hours ago, Elodie_Lenoir said:

@HoaLT Hello, I don't understand your answer. Where do you see this tag? I don't see it in the page code. And where am I supposed to access it to write the title in the "header" tag.

Sorry for making you confused, I just want to make sure to understand your need.

You can try to use the following CSS code

section[data-section-id="66866781b4c5225f89814832"] .list-section-title {
  display:flex;
  flex-wrap: wrap;
}
section[data-section-id="66866781b4c5225f89814832"] .list-section-title:after {
  content: 'hello here';
  font-size: 30px;
  line-height: normal;
}

Here is the demo for my code

image.thumb.png.620c8e57c9c8186e690343cdf1d09821.png

Let me know if it meet your requirement

Press 👍  or mark my comment as solution if you find my sharing useful

🆒 Squarespace pinchzoom lightbox plugin (affiliate link)

👁‍🗨 360 degree photo viewer (affiliate link)

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.