All things Shopify and commerce
Hi, my hover texts are going horizontally over the column instead of vertically. Can anyone let me know what is wrong with my CSS code to make the text goes vertically within the column please?
Below is my custom CSS code under multicolumn:
.multicolumn-card:hover .multicolumn-hover-text {
display: flex;
align-items: center;
justify-content: center;
background-color: #eceae3;
}
.multicolumn-hover-text {
position: absolute;
color: #22311e;
padding-left: 10px;
padding-right: 10px;
width: 100%;
top: 0;
height: 100%;
display: none;
}
Hi there, thank you for the quick response but sorry for the confusion. What I want to achieve is a "wrap text" within the column like the image below, what would be the code for that? Apology for the mislead.
omg I accidentally deleted the blog post!!! Is there any ways to recover it?
Hi, sorry for the late reply. I got it fixed and almost got what I want to achieve. So now the text is center aligned but I wish there will be no spacing in between each line, meaning all the words will be centralised in the middle of the column. Now, when I type my words in the hover text column (on the left side of the picture) and when I click return to continue the next line below, the spacing between the line are in huge gap and I wish there's so spacing in between the lines. Is it possible to achieve? Thanks!
It worked!! Thank you so much for your help!!! 😁
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024