Sitecore / XM-Cloud-Introduction

A repository containing the code for the MVP & SUGCON Sites, powered by XM Cloud
47 stars 47 forks source link

fix hero component by removing paddings and increasing width to 100 p… #464

Closed lovesitecore closed 2 months ago

lovesitecore commented 3 months ago

fix hero component by removing paddings and increasing width to 100 percent. Also container style has been adjusted by using style items in shared site. (only Hero Homepage Varinat)

Description / Motivation

Hero component showed gaps (padding) on the right depending on image size. Also the text was shifted to the left. The width of the hero component has been set to 100% which looks good on desktop and mobile.

for using Hero component on Generic Page Designs the container used as placeholder has been adjusted as well. I added a style item named zero padding and applied it to the container used on the Generic Page Partial Design.

How Has This Been Tested?

this has been tested on local.

Types of changes

Checklist: