Re: Colour name hiding under product picture

Solved

How can I make the color name visible on product images?

PrzemekRad
Tourist
11 0 2

Hello,

i have a question:

when i put cursor over colour selector, colour name is too long and its hides under product picture, how to setup it to be visable on picture?
I add screenshot to clarify my situation.

shop4.png

Accepted Solutions (2)

Ihor-Sh
Shopify Partner
79 11 17

This is an accepted solution.

@PrzemekRad add this css part in code:

.globo-swatch-product-detail li label:hover .attr-title-hover {white-space: normal !important;}

 

Shopify troubleshootibility 😉
If you're satisfied with reply - don't forget to like it.
If you more than satisfied - mark it as solution 😉
You can find me here.

View solution in original post

Ihor-Sh
Shopify Partner
79 11 17

This is an accepted solution.

remove :hover state from css like:

.globo-swatch-product-detail li label .attr-title-hover {white-space: normal !important;}


this should solve glitch

Shopify troubleshootibility 😉
If you're satisfied with reply - don't forget to like it.
If you more than satisfied - mark it as solution 😉
You can find me here.

View solution in original post

Replies 7 (7)

Ihor-Sh
Shopify Partner
79 11 17

Hi @PrzemekRad can you share website url?

Shopify troubleshootibility 😉
If you're satisfied with reply - don't forget to like it.
If you more than satisfied - mark it as solution 😉
You can find me here.
PrzemekRad
Tourist
11 0 2

Why you need it? 

Ihor-Sh
Shopify Partner
79 11 17

In short - you need to add css style whitespace: wrap for this text. But if you want workable code snippet for your theme i need url to check classnames in dev console.

 

Shopify troubleshootibility 😉
If you're satisfied with reply - don't forget to like it.
If you more than satisfied - mark it as solution 😉
You can find me here.

Ihor-Sh
Shopify Partner
79 11 17

This is an accepted solution.

@PrzemekRad add this css part in code:

.globo-swatch-product-detail li label:hover .attr-title-hover {white-space: normal !important;}

 

Shopify troubleshootibility 😉
If you're satisfied with reply - don't forget to like it.
If you more than satisfied - mark it as solution 😉
You can find me here.
PrzemekRad
Tourist
11 0 2

Its a bit gliching when coursor left colour indicator, but works fine when its over it, so thanks 😉

Ihor-Sh
Shopify Partner
79 11 17

This is an accepted solution.

remove :hover state from css like:

.globo-swatch-product-detail li label .attr-title-hover {white-space: normal !important;}


this should solve glitch

Shopify troubleshootibility 😉
If you're satisfied with reply - don't forget to like it.
If you more than satisfied - mark it as solution 😉
You can find me here.
PrzemekRad
Tourist
11 0 2

Nice, thats working prerfectly 😉 Thank you very much