Jump to content

Bedford: Changing the banner height?

Recommended Posts

  • Replies 98
  • Views 73.6k
  • Created
  • Last Reply

Here you go:

https://savethebosque.squarespace.com

It isn't live yet so you'll need to the password:

b0squebash

The browser just doesn't recognize the code and has no effect on the slideshow height. Of note, the template wasn't working properly on Firefox prior to my adding this code. Rather than scaling correctly the images took up only about half of the screen and got severely cropped. I added the code in an attempt to fix the problem but all it did was create a black strip below the slideshow. Thus far I've only noticed the issue on monitors with 2 to 1 aspect ratios.

Link to comment
Guest ScottO

Here's the site I mentioned earlier where it's working on everything i've tried except Firefox. I used the script above but changed it to 50% of the window height, not 100%. On Firefox, the images themselves aren't scaling, though some aspects of the container are. (Note that the content is now tucked up underneath the image.) Contrast that to Chrome, where it works as I expected. Ideas?

http://quickspacenevada.squarespace.com

(Still Trial, so Visitor Access...)

Thank you!

Link to comment

Anyone else note that this code affects the way the shopping cart works? When clicking "add to cart", the thing that pops up and floats with you as you scroll doesn't float anymore and stays at the top of the page. We've noticed that several of our visitors have been confused by this. Any thoughts on a fix? Thanks. (cc/ @foleyatwork)

Link to comment

All works great apart from Firefox. Tested on multiple versions and anything on a fairly big monitor the homepage image is not scaling to fill the screen.

http://simon-randall-mw7u.squarespace.com

Award Winning Designer ( not a budding one ). Get in touch if you want to invest in something great. Our developer worked with the platform since inception and I have worked for the best advertising agencies in the world. Get in touch and do not use the marketplace. Visit here to see more

Link to comment

Not got a real answer for you Simon but I can confirm the code works for my site in Firefox (tested on multiple machines). The only thing I did different was create a fullscreen.js file using the dev platform instead of using the footer code injection area on the consumer platform. Have a look at www.valorizzazioniculturali.com and see if it works for you.

Link to comment

All works great apart from Firefox. Tested on multiple versions and anything on a fairly big monitor the homepage image is not scaling to fill the screen.

@si lunt – I just noticed this on a new page I created with a slideshow instead of a singe image. It displays the same defect that you have, the window in Firefox is limited to @galleryHeight + 100px (which in Bedford is 600px + 100px for a total of 700px.)

In developer mode I changed:


&.transparent-header {
 #promotedGalleryWrapper {
   .sqs-gallery-block-slideshow {
     height:@galleryHeight + 100px !important;
     .sqs-gallery {
       height:@galleryHeight + 100px !important;
     }
   }
 }
}

To:


&.transparent-header {
 #promotedGalleryWrapper {
   .sqs-gallery-block-slideshow {
     height:100% !important;
     .sqs-gallery {
       height:100% !important;
     }
   }
 }
}

And it now works fine in Firefox as well – this works only with a transparent header.

Link to comment

Thanks Paul

Don't want to really flip the dev switch on that site tho. I'll have a play about.

Award Winning Designer ( not a budding one ). Get in touch if you want to invest in something great. Our developer worked with the platform since inception and I have worked for the best advertising agencies in the world. Get in touch and do not use the marketplace. Visit here to see more

Link to comment

Oh how I wish that worked for me, Paul. Incorporated your code but the results are the same in FireFox. BTW, the issue shows up only on those monitors that have more of a 2 to 1 aspect radio (more cinema style). Did you check your site on that kind of monitor?

Link to comment
  • 2 weeks later...

I found out how to fix the Firefox issue. I added this to my CSS and it works great in all browsers now:


.collection-type-page.has-promoted-gallery.transparent-header #promotedGalleryWrapper .sqs-gallery-block-slideshow .sqs-gallery,
.collection-type-index.has-promoted-gallery.transparent-header #promotedGalleryWrapper .sqs-gallery-block-slideshow .sqs-gallery,
.collection-type-page.has-promoted-gallery.transparent-header .promoted-gallery-wrapper .sqs-gallery-block-slideshow .sqs-gallery,
.collection-type-index.has-promoted-gallery.transparent-header .promoted-gallery-wrapper .sqs-gallery-block-slideshow .sqs-gallery {
 height: 100% !important;
}

Link to comment

@foleyatwork - This javascript snippet is great and works beautifully, thank you for sharing!

I am looking to have this work on Event posts as well and simply do not know javascript well enough to know what I need to add.

Thank you in advance for your assistance.

Correction: this is actually the case for any page that has a banner thumbnail image but does not have a description or title wrapper.

Link to comment

Hi - sorry to jump in here with an idiot question. I'm a complete beginner and far too scared to even contemplate CSS, but have same prob as described above - I want a full size (i.e. same size as my main header image) slide show gallery where my banner is on my home page.I tried the Five template but was advised, if I didn't want to try CSS, to use Bedford as it had a built in banner slideshow. However, the Bedford slideshow is just a small gallery on the page which is not what I want.Is there any way to get what I want without being remotely expert or shall I just give up? Thanks in advance.

Link to comment

Archived

This topic is now archived and is closed to further replies.

Guest
This topic is now closed to further replies.
×
×
  • 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.