Hover text on multicolumn not align within the column.

Hover text on multicolumn not align within the column.

Crystalwclee
Excursionist
21 0 8

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;
}

Crystalwclee_0-1727249465406.png

 

 

Replies 5 (5)
Crystalwclee
Excursionist
21 0 8

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.

Crystalwclee_0-1727250534330.png

 

Crystalwclee
Excursionist
21 0 8

omg I accidentally deleted the blog post!!! Is there any ways to recover it?

Crystalwclee
Excursionist
21 0 8

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!

Crystalwclee_1-1727346215997.png

 

 

Crystalwclee
Excursionist
21 0 8

It worked!! Thank you so much for your help!!! 😁