I'm having trouble locating the unique CSS for the Squarespace collection page that I want to modify

I am in the process of creating a website using Squarespace () and I have been adding custom code to style it according to my preferences. However, I am facing an issue with the 'collection' page (which is a gallery) as it is not displaying correctly compared to other pages like the Contact page. I am struggling to find a solution to make it consistent with the rest of the site.

If anyone could kindly use Inspect Code or any similar tool to provide suggestions, I would be extremely grateful for your assistance.

Below is the current CSS that I have customized:

/* Custom Home Background */
#siteWrapper{
background-image:url('http://static1.squarespace.com/static/52dcef2ae4b086a63887d86f/t/54dd3da2e4b0977f1c7ca66e/1423785392011/Melbourne-Property-Photography-1.jpg');
background-repeat:no-repeat;
-webkit-background-size:cover;
-moz-background-size:cover;
-o-background-size:cover;
background-size:cover;
background-position:center;}

/* Styling for header div top */
.transparent-header.view-list .banner-thumbnail-wrapper, .transparent-header.collection-type-page .banner-thumbnail-wrapper {
padding: 180px 0 155px;
height: 50px
}

/* Design for Gallery and Contact page headers */
body:not(.has-banner-image).transparent-header #header, .collection-type-gallery.has-banner-image.transparent-header #header {
 background-color: #3f3131;
 background: -moz-linear-gradient(top,  rgba(63,49,49,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6+ */
...
color:#FFF
}

Answer №1

Make sure to add the code background-attachment:fixed; at the end of the #siteWrapper id.

This will ensure that the background image behaves in the same way as on the homepage.

UPDATE: To achieve a look similar to the Contact page, more changes are needed. Follow these steps:

In the #page id, either comment out or remove max-width:1020px.

Then, include the following code in #content:

margin:0 auto;
max-width:1020px;

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Tips on customizing Chakra UI toast notifications with specific colors using chakra-ui/react 2.4.2 and next.js v13

I'm currently exploring ways to incorporate color and background styles into my Chakra UI toast component. Below is a sample code snippet of my custom toast component: import type { UseToastOptions } from "@chakra-ui/react" import { useToa ...

Differences in Behavior of jQuery Element Styles in Firefox and Chrome When Modals Are Visible

I'm new to working with jQuery and JavaScript. Currently, on my website, I have implemented several unique modal/popups that are activated using a CSS :target selector, which changes their display property to block. Additionally, I am attempting to us ...

Ensure that the headers of the table are properly aligned with the

Here's the code snippet I'm currently working with: function deleteRow(row) { var i = row.parentNode.parentNode.rowIndex - 2; // this -> td -> tr // -2 because the first 2 rows are used for header var tbl = docu ...

Navbar not updating active section in Scrollspy

The scrollspy active section is not updating on the navbar. I'm unsure if there is a missing script or if there is an error in the code. Script /* Navbar Spyscroll */ $('body').scrollspy({ target: '#navspy' }) $(&apos ...

Lack of consideration for height within tables positioned absolutely

In the case of an absolutely positioned element with display: table, if the height is explicitly set and the content exceeds this height, the element will adjust to wrap around the content rather than maintaining the specified height value. #main { wi ...

Unusual CSS behavior discovered while implementing horizontal scrolling navbar with overflow-x

I've been working on a navbar that will scroll horizontally when it exceeds the width of its parent container. It features a bottom border with a different color for the active link. Using a negative margin to overlap them works well, but as soon as ...

The class is failing to be applied to the parent div that holds an id starting with the letter x

I have been attempting to assign a class to the parent container when the child element has the 'hidden' class. If not, then a different class should be added. function tagMissions() { if ($('span[id^="mission_participant_new"]').h ...

Align a series of items in the center while also ensuring they are left-justified

Issue Description : I am facing a problem with centering inline-block elements. When the elements exceed the width of a single line, Action Required : I want them to be justified to the left. I have tried using flex boxes and other methods, but I can ...

Ways to generate a fixed-length string without relying on the rand() function

Is it possible to create a fixed length string without relying on the rand() function? I currently have a method for generating random strings, but I would prefer not to use the rand() function function generateRandomString($length =6) { $characters ...

Troubleshooting image alignment problem within a flexbox display

Is there a way to align the two images so that the bottom right of the first image meets the top left of the second image? I'm struggling to figure out a solution, especially considering different browser sizes. Any advice or suggestions? .flexbox ...

Tips for accurately aligning a relative p tag within a td

Description: I am trying to prevent text overflow in a table cell and position the text underneath a header without wrapping it under an image. I have tried setting a static width for the image and adjusting the left property, but it is not working as expe ...

What is the best way to connect to a specific part of a webpage that functions properly on Safari?

On my website, I have a testimonials page with a featured testimonial on the homepage that has a "Read More" option. When users click on this link, I want them to be taken directly to the testimonials page and to the specific section where that particular ...

The dilemma of calculating the total width of jQuery's list items

I am in the process of creating a submenu that should look like this: HTML: <ul class="mainMenu clearfix"> <li><a href="#">Eurodan huset</a></li> <li><a href="#">Hustyper</a></li> <li&g ...

Floating vertical menu intersecting with horizontal navbar

For my latest project, I decided to include a menu in the index.html view: <table> <tr class="logo"> <td><img src="#" alt="logo"/></td> </tr> <tr class="menu"> < ...

Tips for Ensuring Element Width is Maintained Despite Border

My webpage layout is using the fantastic Twitter Bootstrap framework and I am trying to add a stylish CSS3 Box Shadow effect to a column. However, I have encountered an issue where the box shadow's 1px border is causing my second column to wrap onto ...

What are some creative ways to provide video responses to a list of questions?

My task is to create a popup that includes questions and video responses. The challenging aspect for me is how to ensure each question displays a different video in the same location. Additionally, when the user first opens the popup, the initial question ...

Picture spills over onto the following row

Here is the HTML code snippet I have: <div id="thumbs"> ...8 image tags with width and height of images set to 100 x 100px </div> Below is the corresponding CSS: #thumbs { overflow:hidden; float:left; posi ...

Unexpected behavior from flexbox layout

So I've been experimenting with Chrome lately. I created a div with display: -webkit-box;. Inside this div, there are 7 other divs all set to -webkit-box-flex: 1;. Oddly enough, the first div is smaller than the rest. Any ideas on why this might be ...

JavaScript function for automatic scrolling to the bottom of the page is not functioning as expected

I'm working on incorporating a terminal/console feature into my website. I came across the JavaScript functions for scrolling down a page, namely window.scrollTo(0,document.body.scrollHeight); and window.scrollTo(0,document.querySelector(".fakeSc ...

How can I adjust the indentation in Angular Prime-ng's p-tree component?

In my project, I am utilizing the primg-ng tree component for the sidebar. Currently, the output is displayed as shown here: https://i.stack.imgur.com/kcSQt.png However, I am looking to maintain consistent indentation levels without any adaptive changes ...