Hi,
i would like to have the icon of the woman to be half (of the circle) between the white and pink section.
url : www.lesparentales.ca
Thansk,
CLaudie
A user seeks to position a circular woman icon so that half of it overlaps between white and pink sections on their store page.
Solutions Provided:
Two community members offered CSS code solutions:
Simonsron’s approach: Add transform: translateY(-50%) to .text__image__wrapper to shift the image upward by 50%
shubhamSharma’s approach: Apply transform: translateY(-50%) to .text__image__wrapper img and add margin-top: 3rem with positioning adjustments
Follow-up Issue:
After implementing a solution, the user reported excessive spacing appeared, with text positioned too far below the image.
Additional Fix:
Simonsron provided CSS to reduce spacing by adding position: relative and top: -100px to the .text__heading element.
The discussion appears resolved with the user accepting one of the solutions.
Hi,
i would like to have the icon of the woman to be half (of the circle) between the white and pink section.
url : www.lesparentales.ca
Thansk,
CLaudie
Palo Alto
#Text--template--15970693218474__4de30a4a-446f-4b7d-89e7-709ad0ab8236 .text__image__wrapper{
transform: translateY(-50%);
}
like this?
hello @Lesparentales
step 01:
step 02:
.text__image__wrapper img {
transform: translate(0px, -50%);
}
.section-padding.text-section.text-dark {
margin-top: 3rem;
}
this idea helps you
#Text--template--15970693218474__4de30a4a-446f-4b7d-89e7-709ad0ab8236 .text__heading{
position: relative;
top: -100px;
}
hello @Lesparentales
I’m really happy to help you, thanx for accepting my solution and please like my post
thank you!
~ Shubham Sharma