LuckyAndSon
-
Posts
8 -
Joined
-
Last visited
Content Type
Forums
Gallery
Blogs
Events
Store
Downloads
Profiles
Posts posted by LuckyAndSon
-
-
The top image of my mobile website includes the company logo, so I have added in code to not display the logo on the home page. However, once you start scrolling, a yellow bar appears at the top with the mobile burger menu in it and looks very empty without a logo there. Is it possible to keep the logo hidden for my top section of the site, but then have it show once you start scrolling down the page again?
-
Site URL: https://www.craftedfestival.com.au/
Hi guys,
I've been doing some serious CSS hacking trying to get a wave graphic to sit over my banner images on the Brine Template.
I've managed to add the image to every page, however the site has 30px of padding site wide. To get the image to be full width, I've added a -30px margin to the left but then the banner stops short on the right as the width isn't long enough. To overcome this, I've tried making the wide 100% + 30px but for some reason this extends the graphic outside of the website container and makes a horizontal scroll bar for about 200px! So now I've got the width set to 103% which works on some screen sizes, but either goes past site boundary on extra large widths, and falls short on mobile.
Any ideas on how to get the wave graphic to just fit perfectly at 100% of the page but not within the site padding boundary??
/*Add wave to banner images*/
#block-yui_3_17_2_1_1620107629754_2747{
overflow: visible;
&:before {
content: '';
width: calc (100% + 30px);
height: 100px;
background-image: url(https://static1.squarespace.com/static/58a18e6da5790a7c3fcaaf73/t/6090a1cb6f648c6378f7640d/1620091339242/Image-wave.png);
position: absolute;
margin-top: -100px;
margin-left: -30px;
}
}
-
-
Was there any solution to this?
I'm trying to remove all image padding from a portfolio gallery top and bottom on mobile (as it displays correctly with no padding currently in full screen) but it seems no CSS is working in 7.1?
-
On 2/8/2020 at 8:50 AM, inside_the_square said:
Hey @rsmith3074 - I realize you posted this weeks ago but I just now got back onto the forum and wanted to share the answer in case you still needed it! I use CSS to do this; this code does the trick for me. Hope it helps!
.header-burger { display:flex!important} .header--menu-open .header-menu {opacity: 1!important;visibility: visible!important;} .header-nav, .header-actions {visibility:hidden!important}
Hey inside_the_square do you know how to make the hamburger menu display on the right hand side instead of left using this CSS in Squarespace 7.1?
When I currently shrink the browser window the hamburger is jumping from the left to the right so I just need it on the right the whole time please.
Add logo into mobile header after first scroll
in Customize with code
Posted
https://www.craftedfestival.com.au/