Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28
  1. #11
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: EZ pages header menu- replace links with images

    You should have a section like this in tpl_header.php:
    PHP Code:
    <!--bof-header ezpage links-->
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE$_SERVER['REMOTE_ADDR'])))) { ?>
    <?php 
    require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
    <?php 
    ?>
    <!--eof-header ezpage links-->

  2. #12
    Join Date
    May 2011
    Posts
    14
    Plugin Contributions
    0

    Default Re: EZ pages header menu- replace links with images

    Is this what you mean? It's all I could find in the tpl_header.
    PHP Code:
    <!--bof-header ezpage links-->
    <div class="topper-menu float-right">
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE$_SERVER['REMOTE_ADDR'])))) { ?>
    <?php 
    require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
    <?php 
    ?>
    </div>
    <!--eof-header ezpage links-->

  3. #13
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: EZ pages header menu- replace links with images

    That should make the ez-pages menu appear in the top right corner of the header, to the right of "Log In or Sign Up". The posted code would function the same as stock, so the question is, exactly how did you try to activate the link? List the exact steps you took in total detail.

  4. #14
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: EZ pages header menu- replace links with images

    By the way, that's sloppy template coding. The stock version has wrappers already and can be styled in any way you could want, but the custom version adds another wrapper div that is always there no matter if there is any ez-pages menu to display or not.

  5. #15
    Join Date
    May 2011
    Posts
    14
    Plugin Contributions
    0

    Default Re: EZ pages header menu- replace links with images

    What do you mean by "activate the link"? Sorry if I'm sounding totally clueless here (I kind of am XD)

  6. #16
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: EZ pages header menu- replace links with images

    Quote Originally Posted by yelsha42 View Post
    What do you mean by "activate the link"? Sorry if I'm sounding totally clueless here (I kind of am XD)
    Re-read his post #7.

  7. #17
    Join Date
    May 2011
    Posts
    14
    Plugin Contributions
    0

    Default Re: EZ pages header menu- replace links with images

    Okay, so the EZ page link is appearing now (forgot to put a number in the order field). So now the question is how do I get rid of the other links and replace them with EZ pages..? This turned out to be a lot more complicated than I thought

    If it helps, this is the original template I edited:
    http://www.12leaves.com/store/crista...-template.html

    I just downloaded the free version and changed most of the pictures and fiddled around a bit to get what is currently the shop layout.

  8. #18
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: EZ pages header menu- replace links with images

    Move the whole ez-pages code block in tpl_header.php down to where the block containing <div id="top-nav"... is, then delete the top-nav block. That will put the ez-pages headerbar where the other links are now. Then you will need to change the styling for the ez-pages in your stylesheet(s).

    I see that the top-nav block is not clearly marked off by comments. Remove everything in red.
    Code:
    <!--eof-header logo and navigation display-->
    
    
    <div id="top_nav">
    <div id="tab_nav">
    <!--<div class="top-nav-left"></div>-->
    <div class="top-nav-right"></div>
    	<ul class="list-style-none">
    		<li class="home-link"><a href="http://battleaxe.co/shop/">Home</a></li>
    
    [...more code...]
    
    	</ul>
    </div>
    
    </div>
    
    
    <!-- tools section -->

  9. #19
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: EZ pages header menu- replace links with images -crista gray

    Moderator's note: thread has been moved to AddOn Templates.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  10. #20
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: EZ pages header menu- replace links with images -crista gray

    You may need to contact the template author.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. v138a Replace header with apycom jQuery Menu Style 01 (flyout menu))
    By soki in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Mar 2012, 09:18 PM
  2. How to replace Header menu with static buttons?
    By perfumbg in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 13 Nov 2010, 06:50 PM
  3. Replace EZpages Header links with images?
    By sfklaas in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Mar 2010, 06:19 PM
  4. Images to replace links in ezpage header
    By ForPhoneUnlock in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Mar 2009, 03:08 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR