Hi
Is there a way for me to move the secondary menu to the top right where the authorize items are at present? I've been trying to achieve it using local.css but have had no success.

Thanks for the brilliant theme. It's a winner.

Mike

Comments

danpros’s picture

Hi Mike,

This actually already answered in here but since its about the different version of Danland so I will not mark this as duplicate.

Edit the page-front.tpl.php and page.tpl.php:

<?php if($footer_message || $secondary_links) : ?>
<div id="subnav-wrapper">
 <ul><li><?php print $footer_message; ?></li>
<li><?php if (isset($secondary_links)) : ?><?php print theme('links', $secondary_links, array('class' => 'links', 'id' => 'subnav')); ?><?php endif; ?></li></ul>
</div>
<?php endif; ?>

You must separate the footer message from it, but if you do not need the footer message you can delete that like this

<?php if($secondary_links) : ?>
<div id="subnav-wrapper">
 <ul><li><?php if (isset($secondary_links)) : ?><?php print theme('links', $secondary_links, array('class' => 'links', 'id' => 'subnav')); ?><?php endif; ?></li></ul>
</div>
<?php endif; ?>

Move above code the the right top, the rest is CSS.

But if you want the footer message, you can creating new ids or classes for this and the code become

<?php if($footer_message) : ?>
<div id="my-footer-message"><?php print $footer_message; ?></div>
<?php endif; ?>

Placing above code for footer message else where, and styling it via CSS

#my-footer-message {
code goes here..
}

Dan

class47’s picture

Thanks Dan. It does exactly what I hoped for.
Mike

grkm2002’s picture

I have insert the code into both tpl.php files using the code that removes the footer. My question pertains to where do I place the secondary link block. Your message says place it to the right top, but in admin/build/block there is no right top.

danpros’s picture

Status: Active » Closed (fixed)

@grkm2002: if you have secondary menu then its automatically printed on the bottom. This issues is to remove that to the top.

Dan