CMS Development

belekate
Member

Template-Level Styles For DnD Module

SOLVE

Hi!
I'm making a new template. Here is the part code of it

As you see, I setup the elements (columns, rows, headers etc) through dnd_module attributes
I need to know how I can change the font size and font color for "Live Webinar" text
 to see it right there in the page settings. This text module is build using "@hubspot/header" component

I tried to do as this documentation said: 
https://developers.hubspot.com/docs/cms/building-blocks/modules/using-modules-in-templates#setting-t.... But it not works

Could you help me to make template-level values for style fields and display it right here, please?

0 Upvotes
1 Accepted solution
Niharika
Solution
Member | Platinum Partner
Member | Platinum Partner

Template-Level Styles For DnD Module

SOLVE

Hi @belekate 

 

Trust you are doing great.

 

I have checked your request.

 

For this you can do same by CSS in head tag.

 

For the text you have to select the element, in your code e.g. it was the h5, and in your css write e.g.

 

h5{

font-size:20px;

}

 

Hope that would work.

 

Thanks

View solution in original post

2 Replies 2
Niharika
Solution
Member | Platinum Partner
Member | Platinum Partner

Template-Level Styles For DnD Module

SOLVE

Hi @belekate 

 

Trust you are doing great.

 

I have checked your request.

 

For this you can do same by CSS in head tag.

 

For the text you have to select the element, in your code e.g. it was the h5, and in your css write e.g.

 

h5{

font-size:20px;

}

 

Hope that would work.

 

Thanks

Jaycee_Lewis
Community Manager
Community Manager

Template-Level Styles For DnD Module

SOLVE

Hi, @belekate 👋 Welcome to the community! Hey, @ashleyidesign @piersg, do you have any tips you can share with @belekate?

 

Thank you very much! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes