• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

Header menu

Status
Not open for further replies.

izam2

Chevereto Member
where i can add a menu in the header?
example:
header.png


i trying in header.php but nothing.

ty in advanced
 
You must work inside the <div id="top"> on every template page where it exists.
 
It could be but the default theme is also a demo theme. Is not intended to confuse you. Is that why the <body> content is declarated on each template file.

But since you point out this (and it could be uncomfortable for more people) I will change the default theme in order to use the same <body> header.

Is quite easy just open /content/themes/Peafowl/header.php and add at the bottom:
Code:
<div id="wrap">
    <div id="top"><a href="<?php show_base_url(); ?>"><img src="<?php show_theme_imgdir(); ?>logo.png" alt="Chevereto" /></a></div>

And remove the same HTML code in the template files and pages 😉
 
Btw, you can also do a similar procedure in footer with:
Code:
</div><!-- wrap -->

FYI this fix is already running in the demo and it will come on 2.0.3
 
yep, cuz if i modify the "view.php" and "header.php" the menu only appear when i upload a photo not in the index.php (first page) so is a quite confusing xD

ty
 
Status
Not open for further replies.
Back
Top