devilish Posted June 10, 2016 Share Posted June 10, 2016 Help please, I purchased the galaxyx theme, I've been doing some customizing, here's the link http://devilish.co.nz/ I'm trying to move the document menu to the footer and have categories to show in the main menu I tried commenting out {include file='templates/box.documents.php'} and replacing it with {include file='templates/box.navigation.php'} but it displays the top menu as it looks in the sidebar. </div><!-- Header : End --> <div class="grid"> <div class="col-1-1"> <div class="content"> {include file='templates/box.navigation.php'} </div> </div> </div> I will remove the {include file='templates/box.navigation.php'} from the <div class="content sidebar"> as I don't want it there. <div class="col-3-12"> <div class="content sidebar"> {include file='templates/box.navigation.php'} {include file='templates/box.featured.php'} {include file='templates/box.popular.php'} {include file='templates/box.sale_items.php'} {include file='templates/box.language.php'} {include file='templates/box.skins.php'} </div> </div> Any help will be much appreciated Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted June 10, 2016 Share Posted June 10, 2016 I don't know anything specific about the Galaxy skin, but I do see it IS based on 12 columns. The col-3-12 controls how much width the navigation takes up. If you want it somewhere besides the sidebar you would need to tell the skin how wide it needs to be. All the way across, I would guess, would be 12-12????? Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 10, 2016 Share Posted June 10, 2016 Let's move the document bar to the bottom, just above the Mailing List - Social Icon bar: In the template main.php, find: Near line 117: <div class="col-1-1 footer"> <div class="content"> <div class="col-6-12"> {include file='templates/box.newsletter.php'} Change that to: <div class="col-1-1 footer"> <!-- The Docs content moved to here. --> <div class="content"> <div class="col-6-12"> {include file='templates/box.newsletter.php'} Then, near lines 77-83: <div class="grid"> <div class="col-1-1"> <div class="content"> {include file='templates/box.documents.php'} </div> </div> </div> Cut that to the clipboard, and paste on the blank line just after the added comment: <div class="col-1-1 footer"> <!-- The Docs content moved to here. --> <div class="grid"> <div class="col-1-1"> <div class="content"> {include file='templates/box.documents.php'} </div> </div> </div> <div class="content"> <div class="col-6-12"> {include file='templates/box.newsletter.php'} There is now some redundant <div> blocks, so edit the group to look like: <div class="col-1-1 footer"> <!-- The Docs content moved to here. --> <!-- <div class="grid"> <div class="col-1-1"> --> <div class="content"> {include file='templates/box.documents.php'} </div> <!-- </div> </div> --> <div class="content"> <div class="col-6-12"> {include file='templates/box.newsletter.php'} Quote Link to comment Share on other sites More sharing options...
devilish Posted June 11, 2016 Author Share Posted June 11, 2016 Thanks for the info, I'm slowly working out cubecarts structure. I've contacted the theme developer he's going help out with the css. Cheers Quote Link to comment Share on other sites More sharing options...
devilish Posted June 12, 2016 Author Share Posted June 12, 2016 On 6/11/2016 at 11:00 AM, bsmither said: Let's move the document bar to the bottom, just above the Mailing List - Social Icon bar: In the template main.php, find: Near line 117: <div class="col-1-1 footer"> <div class="content"> <div class="col-6-12"> {include file='templates/box.newsletter.php'} Change that to: <div class="col-1-1 footer"> <!-- The Docs content moved to here. --> <div class="content"> <div class="col-6-12"> {include file='templates/box.newsletter.php'} Then, near lines 77-83: <div class="grid"> <div class="col-1-1"> <div class="content"> {include file='templates/box.documents.php'} </div> </div> </div> Cut that to the clipboard, and paste on the blank line just after the added comment: <div class="col-1-1 footer"> <!-- The Docs content moved to here. --> <div class="grid"> <div class="col-1-1"> <div class="content"> {include file='templates/box.documents.php'} </div> </div> </div> <div class="content"> <div class="col-6-12"> {include file='templates/box.newsletter.php'} There is now some redundant <div> blocks, so edit the group to look like: <div class="col-1-1 footer"> <!-- The Docs content moved to here. --> <!-- <div class="grid"> <div class="col-1-1"> --> <div class="content"> {include file='templates/box.documents.php'} </div> <!-- </div> </div> --> <div class="content"> <div class="col-6-12"> {include file='templates/box.newsletter.php'} Thanks bsmither, not sure what I did wrong take a look http://devilish.co.nz/ Your help is much appreciated Quote Link to comment Share on other sites More sharing options...
bsmither Posted June 12, 2016 Share Posted June 12, 2016 The docs content block wasn't moved down to near line 117. But rather the statements near line 117 were copied up to near line 77. Please restore the template file main.php and try again. Where I said: Cut that to the clipboard, and paste on the blank line just after the added comment: I mean cut lines 77-83 to the clipboard. Then, go to that line where, in a previous step, you added: <!-- The Docs content moved to here. --> And paste from the clipboard into this location. Quote Link to comment Share on other sites More sharing options...
devilish Posted June 12, 2016 Author Share Posted June 12, 2016 On 6/11/2016 at 11:00 AM, bsmither said: Let's move the document bar to the bottom, just above the Mailing List - Social Icon bar: In the template main.php, find: Near line 117: <div class="col-1-1 footer"> <div class="content"> <div class="col-6-12"> {include file='templates/box.newsletter.php'} Change that to: <div class="col-1-1 footer"> <!-- The Docs content moved to here. --> <div class="content"> <div class="col-6-12"> {include file='templates/box.newsletter.php'} Then, near lines 77-83: <div class="grid"> <div class="col-1-1"> <div class="content"> {include file='templates/box.documents.php'} </div> </div> </div> Cut that to the clipboard, and paste on the blank line just after the added comment: <div class="col-1-1 footer"> <!-- The Docs content moved to here. --> <div class="grid"> <div class="col-1-1"> <div class="content"> {include file='templates/box.documents.php'} </div> </div> </div> <div class="content"> <div class="col-6-12"> {include file='templates/box.newsletter.php'} There is now some redundant <div> blocks, so edit the group to look like: <div class="col-1-1 footer"> <!-- The Docs content moved to here. --> <!-- <div class="grid"> <div class="col-1-1"> --> <div class="content"> {include file='templates/box.documents.php'} </div> <!-- </div> </div> --> <div class="content"> <div class="col-6-12"> {include file='templates/box.newsletter.php'} Thanks bsmither, not sure what I did wrong take a look http://devilish.co.nz/ Your help is much appreciated That did the trick, thanks much appreciated 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.