Solved

Imuplse Theme: Large image text box transparent

Gratinsta
Excursionist
13 0 2

Hi,

I want to change the large image text box color to transparent and get its alignment to center of the image. I am not able to do this in admin section. Please help

My store: https://gratinsta.com/

Password: gratinsta1

 

For reference I want make it look like this (https://jnitin.com/) and my store currently looks like last image

Capture.JPGCapture1.JPG

Accepted Solutions (4)

Hardik29418
Shopify Partner
2913 419 1083

This is an accepted solution.

@Gratinsta 

Please Go to Online Store -> Themes -> Edit code -> Assets -> theme.scss.liquid and paste this code at the end of this file.

#shopify-section-1626625486fd2551e0 .background-media-text__inner .animation-cropper {
position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#shopify-section-1626625486fd2551e0 .background-media-text__inner .animation-cropper .background-media-text__text {
    background: transparent;
    border-color: transparent;
    text-align: center;
}

 

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email

View solution in original post

Hardik29418
Shopify Partner
2913 419 1083

This is an accepted solution.

@Gratinsta 

Please Go to Online Store -> Themes -> Edit code -> Assets -> theme.scss.liquid and paste this code at the end of this file.

.background-media-text__inner .animation-cropper .background-media-text__text {
    background: transparent;
}

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email

View solution in original post

Hardik29418
Shopify Partner
2913 419 1083

This is an accepted solution.

@Gratinsta 

.animation-contents .background-media-text__text p.h3 {
color: #ffffff !important;
}

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email

View solution in original post

Hardik29418
Shopify Partner
2913 419 1083

This is an accepted solution.

@Gratinsta 

@media only screen and (max-width: 768px) {
.background-media-text__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
}

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email

View solution in original post

Replies 15 (15)

Hardik29418
Shopify Partner
2913 419 1083

This is an accepted solution.

@Gratinsta 

Please Go to Online Store -> Themes -> Edit code -> Assets -> theme.scss.liquid and paste this code at the end of this file.

#shopify-section-1626625486fd2551e0 .background-media-text__inner .animation-cropper {
position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#shopify-section-1626625486fd2551e0 .background-media-text__inner .animation-cropper .background-media-text__text {
    background: transparent;
    border-color: transparent;
    text-align: center;
}

 

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email
Gratinsta
Excursionist
13 0 2

Hi,

 

Thank your for response! It has been of great help! I was able to get transparent background and alignment at center 

1. How can I change color of HOME DECOR and Border color to white?

2. I want to edit same settings for another section - Jewelry, Can you please guide what to do ?

3. I am facing issues on mobile for these images as attached - the alignment is not proper for HOME DECOR and image is getting cropped with gray background for JEWELRY

Can you please advise on how do it make these changes?

 

1.JPG

 

2.JPGunnamed.jpg

 

 

 

Hardik29418
Shopify Partner
2913 419 1083

@Gratinsta  Please remove my old code and put my below code

.background-media-text__inner .animation-cropper {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.background-media-text__inner .animation-cropper .background-media-text__text {
    text-align: center;
}

@media only screen and (max-width: 768px) {
.background-media-text__inner {
    position: unset;
}
}

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email
Gratinsta
Excursionist
13 0 2

Thank you for this! I am able to the alignment to center om destop as well as mobile but background color is white again. How can I make this transparent?

Capture.JPG

 

Hardik29418
Shopify Partner
2913 419 1083

This is an accepted solution.

@Gratinsta 

Please Go to Online Store -> Themes -> Edit code -> Assets -> theme.scss.liquid and paste this code at the end of this file.

.background-media-text__inner .animation-cropper .background-media-text__text {
    background: transparent;
}

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email
Gratinsta
Excursionist
13 0 2

Thanks a ton! You are awesome 🙂

Gratinsta
Excursionist
13 0 2

Is it possible to change color of only large box text headings to white? and keep rest of the store's text in black?

I couldn't find such a setting in theme color 

Capture.JPG

 

Hardik29418
Shopify Partner
2913 419 1083

This is an accepted solution.

@Gratinsta 

.animation-contents .background-media-text__text p.h3 {
color: #ffffff !important;
}

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email
Gratinsta
Excursionist
13 0 2

@Hardik29418 

When accessing the website on mobile, the texts and button label HOME DECOR / EXPLORE and JEWELRY/ EXPLORE fades away and is not visible anymore.

Any suggestions if this can be fixed? The website is working fine on desktop.

 
 

unnamed.jpg

 

 

 

Hardik29418
Shopify Partner
2913 419 1083

This is an accepted solution.

@Gratinsta 

@media only screen and (max-width: 768px) {
.background-media-text__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
}

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email
Gratinsta
Excursionist
13 0 2

@Hardik29418  

Is it possible for me to move the Text and Shop Now button in large image section to right than center?

Capture.JPG

me do so.

Hardik29418
Shopify Partner
2913 419 1083

@Gratinsta 


Welcome to the Shopify Community.
I read your problem and it seems that I need to analyze your website to provide the solution here.
Would you please share your website URL and if your website is password protected then also provide the password.

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email
Gratinsta
Excursionist
13 0 2
Hardik29418
Shopify Partner
2913 419 1083

@Gratinsta 

Please Go to Online Store -> Themes -> Edit code -> Assets -> theme.scss.liquid and paste this code at the end of this file.

..background-media-text__inner .animation-cropper {
    right: 0%;
    top: 50%;
    left: unset !important
}

 

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email
Gratinsta
Excursionist
13 0 2

Hi @Hardik29418 ,

 

I tried implementing that code and for some reason its not working.