Jump to content

Looking for some help with my portfolio grid on the homepage

Go to solution Solved by tuanphan,

Recommended Posts

Hello

I'm looking to change my homepage by utilizing the negative space by adding some text since I have an odd amount of projects. The link to my site has the current layout and I have attached a picture of a rough idea of what I am trying to accomplish instead.

I am pretty sure would have to inject custom code so would appreciate some help on this as I am a novice when it comes to coding.

Thanks!

Screenshot 2024-05-22 103251.png

Link to comment

Hello,

Can you add the link of your site so I can have a look at the current state?

๐Ÿ‘จโ€๐Ÿ”ง๐Ÿ‘จโ€๐Ÿ’ปย Contact me for development and design work - Freelancer Software engineer, Architect, and Designer UI/UX

๐Ÿ™‹โ€โ™‚๏ธย Squarespace Custom Web Development & Design

๐Ÿ“…ย Manage Tasks, Take Notes, and Upload Related Images

๐Ÿ“นย Squarespace Tutorials for free - YouTube๐Ÿ“นย 

๐Ÿ’ฏ๐Ÿš€ I have worked on over 200 Squarespace sites with custom code for over 9 years

๐Ÿ™‹โ€โ™‚๏ธย Let's connect on LinkedIn

ย 

ย 

Link to comment

@aksoma15, something like this?

If you want this look only on the homepage add the below code in Page settings -> Advanced > Code injection
ย 

<style>
.portfolio-text {
    opacity : 1!important;
    padding-top : 5px!important;
    position : static!important;
}
</style>

If you want it on all such components through the site add the below code in Custom CSS
ย 

.portfolio-text {
    opacity : 1!important;
    padding-top : 5px!important;
    position : static!important;
}

ย 

Screenshot 2024-05-25 at 16.45.38.png

Screenshot 2024-05-25 at 16.47.20.png

๐Ÿ‘จโ€๐Ÿ”ง๐Ÿ‘จโ€๐Ÿ’ปย Contact me for development and design work - Freelancer Software engineer, Architect, and Designer UI/UX

๐Ÿ™‹โ€โ™‚๏ธย Squarespace Custom Web Development & Design

๐Ÿ“…ย Manage Tasks, Take Notes, and Upload Related Images

๐Ÿ“นย Squarespace Tutorials for free - YouTube๐Ÿ“นย 

๐Ÿ’ฏ๐Ÿš€ I have worked on over 200 Squarespace sites with custom code for over 9 years

๐Ÿ™‹โ€โ™‚๏ธย Let's connect on LinkedIn

ย 

ย 

Link to comment

You want the text to fill the entire space on mouse hover?
If you add the text from the control panel it should behave like that

๐Ÿ‘จโ€๐Ÿ”ง๐Ÿ‘จโ€๐Ÿ’ปย Contact me for development and design work - Freelancer Software engineer, Architect, and Designer UI/UX

๐Ÿ™‹โ€โ™‚๏ธย Squarespace Custom Web Development & Design

๐Ÿ“…ย Manage Tasks, Take Notes, and Upload Related Images

๐Ÿ“นย Squarespace Tutorials for free - YouTube๐Ÿ“นย 

๐Ÿ’ฏ๐Ÿš€ I have worked on over 200 Squarespace sites with custom code for over 9 years

๐Ÿ™‹โ€โ™‚๏ธย Let's connect on LinkedIn

ย 

ย 

Link to comment

@sorca_marianย I would like the text to fill the entire space but not appear only on mouse hover actually. I want the text to appear in the negative space of the top right of the grid when opening the site, same as my header text. the challenge reaaranging the grid to my specifications and adding the text to the negative space as specified in my screenshot.

Link to comment
  • Solution

You can use this code to Website > Website Tools > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
  $(document).ready(function(){
    $('<a class="grid-item grid-custom-text"><span>You know what? It is beets. I have crashed into a beet truck. Jaguar shark! So tell me - does it really exist?</span></a>').prependTo('div#gridThumbs');
});
</script>
<style>
a.grid-item.grid-custom-text {
    position: relative;
}
a.grid-item.grid-custom-text span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
}
</style>

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

Link to comment

@tuanphanย thank you for your help we are starting to get on the right track.

I am looking to make another page with the same portfolio layout but the code-injected text from this page is showing up there as well and I would like that page to behave independently. Any idea how to do this?

site password: aksomaiah

Link to comment
On 5/28/2024 at 6:34 AM, aksoma15 said:

@tuanphanย thank you for your help we are starting to get on the right track.

I am looking to make another page with the same portfolio layout but the code-injected text from this page is showing up there as well and I would like that page to behave independently. Any idea how to do this?

site password: aksomaiah

You can move code to Page Header Code Injection.

Page Header1 Min

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

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.