jminnsdesign Posted September 1, 2022 Share Posted September 1, 2022 Site URL: https://purenew.squarespace.com/about-us Hi there, I'm currently building out a new site for one of my clients, they have several different sections and colours for the services they offer. I have added in a static image showing these, but they would like to now have these click through to each individual page on the site. What is the best way to tackle this with custom code? I tired adding as individual image blocks but was auto centring them and the spacing was awful. Any help would be greatly appreciated. Link to comment
paul2009 Posted September 1, 2022 Share Posted September 1, 2022 (edited) 21 minutes ago, jminnsdesign said: I'm currently building out a new site for one of my clients, they have several different sections and colours for the services they offer. They would like to now have these click through to each individual page on the site. Instead of an image (or images) you can add them as text links using HTML within a Code Block or Markdown Block. If you give each one a class you'll be able to select the background colour and padding later. For example, for the first one you could add the following to a Code Block (set to HTML): <a href="/productions"> <span class="productions"> Productions </span> </a> And in Design > Custom CSS: .productions { background: #CA7B3B; padding: 7px; color: #fff; text-transform: uppercase; } Edited September 1, 2022 by paul2009 About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment