Jump to content

[Share] Portfolio Grid Overlay: Text Position

Recommended Posts

Posted

Some CSS code to change Text Position in Portfolio Grid Overlay.

If code doesn't work, you can send link to portfolio page on your site, I will check again.

#1. Text in bottom left

image.png.1a1fa06298b4d3eda07b6abadf1bbbac.png

div.portfolio-text {
    justify-content: flex-end !important;
    align-items: flex-start;
}

image.png.84bf79d0978a13141931fcd136a7f810.png

#2. Text in bottom right

image.png.c3d0d3625a7252d582c1655082757522.png

div.portfolio-text {
    justify-content: flex-end !important;
    align-items: flex-end !important;
}

#3. Text in top left

image.png.6a8f0db7c6afd6830fa070ac67a690bc.png

div.portfolio-text {
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

#4. Text in top right

image.png.9baf5816158df56bb7c2cc5dad34bb63.png

div.portfolio-text {
    justify-content: flex-start !important;
    align-items: flex-end !important;
}

#5. Text in bottom center

image.png.af4a72399da9b17dfe3f74531b2a9520.png

div.portfolio-text {
    justify-content: flex-end !important;
    align-items: center !important;
}

#6. Text in top center

image.png.12ee2a8404da3edd1383a2714e7c7ec6.png

div.portfolio-text {
    justify-content: flex-start !important;
    align-items: center !important;
}

#7. Text in right center

image.png.70121162f44ce272827642dd156a6271.png

div.portfolio-text {
    justify-content: center !important;
    align-items: flex-end !important;
}

#8. Text in left center

image.png.534a4149bc1c078b8893c35d1c5dd028.png

div.portfolio-text {
    justify-content: center !important;
    align-items: flex-start !important;
}

#9. Text under Image (Mobile)

image.png.da46865083e2c7ce71f21d8223429544.png

@media screen and (max-width:767px) {
    div.portfolio-text {
    position: static !important;
    opacity: 1 !important;
    padding-top: 5px !important;
}
div.portfolio-text h3 {
    margin: 0 !important;
}
a.grid-item {
    margin-bottom: 15px !important;
}}

#10. Text under Image (Desktop)

image.png.3ab3469d332107ebd22ad1b91067211b.png

@media screen and (min-width:768px) {
    div.portfolio-text {
    position: static !important;
    opacity: 1 !important;
    padding-top: 5px !important;
}
div.portfolio-text h3 {
    margin: 0 !important;
}
a.grid-item {
    margin-bottom: 30px !important;
}}

#11. Align vertical in left center

image.png.84948e0e6a80e5f53403e8cf8c72bdbb.png

div.portfolio-text {
    transform: rotate(90deg);
    justify-content: flex-end !important;
}

#12. Align vertical in right center

image.png.a40ea36e21bc2981a8ea26358afafbb9.png

div.portfolio-text {
    transform: rotate(90deg);
    justify-content: flex-start !important;
}

#13. Align vertical in bottom right

image.png.2d0658ea18299d29c63a854f5773b4fd.png

div.portfolio-text {
    transform: rotate(90deg);
    justify-content: flex-start !important;
    align-items: flex-end !important;
}

#14. Align vertical in bottom left

div.portfolio-text {
    transform: rotate(90deg);
    justify-content: flex-end !important;
    align-items: flex-end !important;
}

image.png.7ad8e6bb58ba1d6ed896b669e17bf61a.png

#15. Align vertical in top left

div.portfolio-text {
    transform: rotate(90deg);
    justify-content: flex-end !important;
    align-items: flex-start !important;
}

image.png.0acadc9f0f06c578a721ef6ea977ae87.png

#16. Align vertical in top right

image.png.e90a92c5056cc2f28e9b27a4477c8d22.png

div.portfolio-text {
    transform: rotate(90deg);
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

 

image.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • Replies 0
  • Views 81
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.