Jump to content

How to align title and subtitle in px for different grid sizes

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Hello,

I'm building a website where i tried via code to cycle between 2 columns and single column portfolio grid, and with a title + subtitle. All is well except the alignment of the title and subtitle. Right now it seems to be based on a % number because the single column is double the margin than the 2 columns one.

Site right now is: glimpsevfx.squarespace.com/work

For example the "Popota Continente" i want to be aligned with the "Carrossel NOS". 

Code for cycling columns is:

#gridThumbs .grid-item:nth-of-type(3n+3){
grid-column: span 2;
}

Code for alignment i'm trying to use is:

.portfolio-text {
    position: absolute !important;
    top: 10%;
    left: 10%;
    transform: translate(-7.5%,-7.5%);
    z-index: 999;
    width: 50% !important;
}

Can someone help me out? 

Thank you,

Pedro

  • Replies 8
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Posted (edited)

Hi, it's on the original post: https://glimpsevfx.squarespace.com/work

Also, as a separate issue, for some reason after 30 projects it adds pages at the bottom of the section. I would like to remove this if possible, so i have all the projects on a single page. If not possible, how can i edit the look of these "1" "2" buttons?

Thank you,

Edited by Glimpse_web
Posted
23 hours ago, Glimpse_web said:

Hi, it's on the original post: https://glimpsevfx.squarespace.com/work

Also, as a separate issue, for some reason after 30 projects it adds pages at the bottom of the section. I would like to remove this if possible, so i have all the projects on a single page. If not possible, how can i edit the look of these "1" "2" buttons?

Thank you,

#1. You mean align these text?

image.png.6b571d5f1909dcf10ea3f7b5976d630e.png

#2. I see you figured it out with button style?

image.png.6fd2a30565c84a5341347d679795105c.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!)

Posted

#1 - Yes

#2 - No, i didn't figure out how to access them. That's just how it appeared after adding 30+ projects. So it's not possible to remove it, and have them all in a single page?

Thanks

Posted (edited)

@tuanphan could you help me out? We're would like to launch the site asap. Pretty much just these issues missing. Thanks

(pagination was already solved, just need help with the alignment)

Edited by Glimpse_web
  • Solution
Posted

#1. Add this to Bottom of Custom CSS box

/* align portfolio titles */
.portfolio-text {
    transform: unset !important;
    left: 30px !important;
    top: 30px !important;
    padding: unset !important;
}

#2. In your Filter Plugin code, change number 30 to another, eg 100 (this is number of item per page)

image.thumb.png.eb507d94bb445e75b5e9d8518d351cb1.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!)

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.