Jump to content

Archived

This topic is now archived and is closed to further replies.

TeamArnold

Text size in Hero

Recommended Posts

TeamArnold

Hi, how can i change the text size on heading and subtext in the Hero component?

Share this post


Link to post
Share on other sites
James B

Hi there, to edit the size of the text within the hero element you'll need to use some css.

 

For example, to change the main title text within the hero

 

.pl-hero-wrap .pl-hero h1 {
    font-size: 40px;
}
 
Simply change the size to suit and paste into the custom code box within DMS and save/publish.
 

Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

×