Jump to content

custom gallery layout

Recommended Posts

Site URL: https://adincampbell.com/

Hello I switched from adobe portfolio to squarespace. I really like the layout of the gallery using the Andreas theme from adobe portfolio with the single row with title and description in a box to the side of the image (reference: https://adincampbell.com/).

I am wondering if it is possible to customize the gallery showcase to look like this using custom CSS? I am currently using the Novo theme.

testcapture.PNG

Edited by adincampbell
Link to comment
6 hours ago, tuanphan said:

Hi. I think this is possible with Sections Only + Custom Code

Or Gallery Section + Code

or List Section

Do you still need help on this?

Hi I've tried using Sections but I like the idea of being able to hover over and click the entire section. I think gallery + code is the closest yet. I have used some custom css to make the gallery 1 row down. Other than that I couldn't figure out how to alternate the gallery items left and right and add a box to the opposite side moving the text and description into that as well.

gallery.PNG

Link to comment
On 3/30/2022 at 12:05 AM, adincampbell said:

Hi I've tried using Sections but I like the idea of being able to hover over and click the entire section. I think gallery + code is the closest yet. I have used some custom css to make the gallery 1 row down. Other than that I couldn't figure out how to alternate the gallery items left and right and add a box to the opposite side moving the text and description into that as well.

gallery.PNG

Can you share link to page where you added? We will try some code

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!)

Link to comment
On 4/6/2022 at 2:15 AM, adincampbell said:

Add to Design > Custom CSS

/* Portfolio Page - Custom Layout */
@media screen and (min-width:768px) {
	.portfolio-grid-overlay .grid-item {
    height: auto !important;
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 0 !important;
}
.portfolio-grid-overlay .grid-item>div {
    width: 50% !important;
    float: left !important;
    opacity: 1 !important;
    padding: 0 !important;
}
.portfolio-text {
    position: relative !important;
}
.portfolio-overlay {
    display: none !important;
}
div#gridThumbs>a:nth-child(even) {
    flex-direction: row-reverse !important;
}
.grid-image-inner-wrapper {
    position: relative !important;
}}

 

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!)

Link to comment
21 hours ago, tuanphan said:

Add to Design > Custom CSS

/* Portfolio Page - Custom Layout */
@media screen and (min-width:768px) {
	.portfolio-grid-overlay .grid-item {
    height: auto !important;
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 0 !important;
}
.portfolio-grid-overlay .grid-item>div {
    width: 50% !important;
    float: left !important;
    opacity: 1 !important;
    padding: 0 !important;
}
.portfolio-text {
    position: relative !important;
}
.portfolio-overlay {
    display: none !important;
}
div#gridThumbs>a:nth-child(even) {
    flex-direction: row-reverse !important;
}
.grid-image-inner-wrapper {
    position: relative !important;
}}

 

Thanks so much! Works great. Modified the code a little bit added some subheadings and here is how it looks now: https://cod-smilodon-fkfw.squarespace.com/

Instead of disabling portfolio overlays:

I am trying to keep those hover animations though, and have them reversed instead where hovering over transitions/inverts the text color and the banner overlay darkens when hovering over. Example: https://adincampbell.com/ Been trying to figure that out.

 

Also the page does flicker quite a bit when reloading the page. Not sure what is causing this in the custom css but I think it has to do with it overriding squarespaces default settings in portfolio grid settings with the custom css, not sure if there is a workaround for this.

Edited by adincampbell
Link to comment

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.