Hi, I’m using the debut theme and I edited some code to change the header and footer background color to black and the text and icons to white. Everything went well until I checked my slideshow on the home page and realized it’s no longer working or scrolling through the pics manually or automatically. I don’t think I altered the code for the slideshow movement, but I may have inadvertently.
I added code to the bottom of my Assets–>theme.css file. The specific code I added is attached herein.
Can someone take a look to see if what I added made the slideshow stop working and if so, can someone help with how to fix it?
Thanks in advance for your help!
Michelle
For the present I have returned my Shopify store to what it was before I changed the header and footer tones. I additionally added code to the lower part of my Assets - - > theme.js record that might have been important for the issue. Again all of this has been erased for the time being until you can investigate it and let me know how I treated the code.
Here is the extra code in the theme.js record.
work headerSize() {
var $headerHeight = $(‘div#shopify-segment header’).outerHeight();
$(‘#PageContainer’).css(‘padding-top’, $headerHeight);
}
$(window).on(“load”, headerSize);
$(window).on(“resize”, $.debounce(500, headerSize));
A debt of gratitude is in order for your assistance!