If this is your first visit, check our documentation. To post, register or login.

Move EZ Pages to LogoWrapper

Started by chuckrey on 10 Apr 2025, 2:10 AM · Views: 976

Results 1 to 3 of 3
10 Apr 2025, 2:10 AM
#1
chuckrey avatar

chuckrey

Zen Follower

Join Date:
Aug 2020
Location:
Richarson
Posts:
160
Plugin Contributions:
0

Move EZ Pages to LogoWrapper

Using 2.1.0 php 8.3 w/ Bootstrap 4

I am looking to move the ezpages to the logowrapper area w/ a float to the right. I am assuming tpl_header file, but would like to know if anyone has a better option and if not, any idea where I should move the string? If not, I will have to play with it. Thanks !

10 Apr 2025, 2:28 AM
#2
chuckrey avatar

chuckrey

Zen Follower

Join Date:
Aug 2020
Location:
Richarson
Posts:
160
Plugin Contributions:
0

Re: Move EZ Pages to LogoWrapper

chuckrey:

Using 2.1.0 php 8.3 w/ Bootstrap 4

I am looking to move the ezpages to the logowrapper area w/ a float to the right. I am assuming tpl_header file, but would like to know if anyone has a better option and if not, any idea where I should move the string? If not, I will have to play with it. Thanks !

I think I have it worked out, so I am answering to my own post. I moved the string directly after the logoWrapper tag.
I then updated the stylesheet to: #ezpagesBarHeader {width:40%;float:right;} and it seems to work out just as needed.

10 Apr 2025, 10:06 AM
#3
arxvaldex avatar

arxvaldex

New Zenner

Join Date:
Sep 2010
Posts:
21
Plugin Contributions:
0

Re: Move EZ Pages to LogoWrapper

chuckrey:

I think I have it worked out, so I am answering to my own post. I moved the string directly after the logoWrapper tag.
I then updated the stylesheet to: #ezpagesBarHeader {width:40%;float:right;} and it seems to work out just as needed.

THANK YOU!!

Using your tip I have managed to put EZ Pages in the NAV Header:

                        <a class="nav-link" href="<?= zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') ?>"><i class="fa-solid fa-credit-card"></i> <?= HEADER_TITLE_CHECKOUT ?></a>
                    </li>
<?php } require $template->get_template_dir('tpl_offcanvas_menu.php', DIR_WS_TEMPLATE, $current_page_base, 'common') . '/tpl_offcanvas_menu.php'; ?>
                </ul>

<!--bof-optional categories tabs navigation display-->
<!--bof-branding display-->

<?php require $template->get_template_dir('tpl_modules_categories_tabs.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/tpl_modules_categories_tabs.php'; ?> <!--eof-optional categories tabs navigation display-->
    <!--bof-header ezpage links-->
<?php if (EZPAGES_STATUS_HEADER === '1' || (EZPAGES_STATUS_HEADER === '2' && zen_is_whitelisted_admin_ip())) { require $template->get_template_dir('tpl_ezpages_bar_header.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/tpl_ezpages_bar_header.php'; } ?>

<!--eof-header ezpage links-->