huggettm Posted March 12, 2018 Share Posted March 12, 2018 Hi, is it possible to set the top bar menu to full page width? Quote Link to comment Share on other sites More sharing options...
Lastwolf Posted March 12, 2018 Share Posted March 12, 2018 It's in a container, I think you'd have to make the whole site full width. Quote Link to comment Share on other sites More sharing options...
huggettm Posted March 12, 2018 Author Share Posted March 12, 2018 ah ok makes sense, in that case do you (or anyone) know where to add a background image to foundation - so its not half white space on a desktop view? Quote Link to comment Share on other sites More sharing options...
Lastwolf Posted March 12, 2018 Share Posted March 12, 2018 I lied, I figured it out. In /foundation/templates/main.php <div class="row"> <div class="small-12 columns small-collapse"> {include file='templates/box.navigation.php'} <div class="hide" id="val_lang_back">{$LANG.common.back}</div> </div> </div> Make it <div class="row row-mod"> <div class="small-12 columns small-collapse"> {include file='templates/box.navigation.php'} <div class="hide" id="val_lang_back">{$LANG.common.back}</div> </div> </div> then go to foundation/css/foundation.css and add .row-mod { max-width: none !important; } 1 Quote Link to comment Share on other sites More sharing options...
huggettm Posted March 13, 2018 Author Share Posted March 13, 2018 thanks! has anyone made the menu bar floating? so it carries down the screen when a user scrolls? Quote Link to comment Share on other sites More sharing options...
Lastwolf Posted March 13, 2018 Share Posted March 13, 2018 (edited) I'm sure it's possible, I just nuked my foundation skin on my test site so I'll have to get back to you on that. Edit: Nah, the foundation skin of cubecart is based on Foundation 4, sticky elements seem to be a 5 onwards thing. I tried to just "upgrade" to 6 but it seems they changed how everything works at some start cause that causes some massive error. Seems like it would require alot of work to get foundation 6 to work, I'm not sure why though as the grid system isn't greatly changed at any rate. ... even later.... Yeah, I got it to stop throwing all the errors at me, will require quite a bit of reworking as they's changed how it all works. I would consider it, but I decided for bootstrap instead as it vaguely makes more sense to me. Edited March 13, 2018 by Lastwolf Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.