• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

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