How to left align icon with text

How to left align icon with text

EcomEO
New Member
4 0 0

How can Align this "icon with text" to the left of the page, it seems to be centred as of now.

 

Link is https://fenora.co/products/luggage-portable-one-shoulder-waterproof-wear-resistant-large-capacity-tr...


Image 05-07-2024 at 18.57.jpeg

Replies 2 (2)

Moeed
Shopify Partner
6292 1711 2056

Hey @EcomEO 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.icon-with-text .h4 {
    text-align: -webkit-left !important;
}
.icon-with-text__item {
    display: flex !important;
    align-items: flex-start !important;
}
</style>

RESULT:

Moeed_0-1720203335368.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Create high-converting pages - PageFly Page Builder.


EFOLI-Syn
Shopify Partner
98 1 0

Hello @EcomEO,

Please add the following code in your base.css file 

@media(min-width:980px){
    .icon-with-text--horizontal .icon-with-text__item{
        align-items: self-start !important;
    }
    .icon-with-text .h4 {
        text-align: left !important;
    }
}
Syn | eFoli
-Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Checkout our apps:Inkybay || MultiVariants