Jump to content

[Resolved] Galaxyx Theme Menu / Footer


Recommended Posts

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

 

Link to comment
Share on other sites

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?????

Link to comment
Share on other sites

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'}

 

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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  

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...