.HI!
First of all, congratulations awesome theme.
Regarding the header, I could change the logo at admin/appearance/settings/md_megatron (logo section). The changes are applied but just after cache is cleared. It (the logo) can't be changed at admin/structure/block/block-content/(your_header) because it's a drupal block right? Ok, I got the logo working but the website title is gone. It just works if the default logo is selected at admin/appearance/settings/md_megatron (logo section) and clear cache again.
I'm doing something wrong?
Hello,
You can upload logo image of header here: http://develop.aistriu.eu/develop/admin/structure/block/block-content
Sorry to ask again but I don't understand at Mysite/admin/structure/block/block-content I choose the header I want to change but the logo is a drupal block inside an awe-block. I'm not allowed to set a logo there, you mean as background?
(I installed the default profile) I think is this code at templates/blocks/block--system-menu-block.html.twig
<a href="{{ base_path }}">
{% if default_logo %}
<div class="logo">
<svg>
<g><path></g>
</svg>
</div>
<div class="brand">MEGATRON</div>
{% else %}
<img src="{{ file_url(logo_path) }}" alt="" />
{% endif %}
</a>
I change the code to my needs but no changed is applied. Could you please point me to the right file I can modify it myself.
Hello
We could not log in your site anymore
Please check again
Hello,
We cannot log in
We get message "Unrecognized username or password. Forgot your password?"
Hello
We have changed logo in theme settings. Please see https://prnt.sc/mxlazx
You can change with your own. Then remember to clear drupal cache after changing logo
Hi,
So, you want to display both logo and sitename next to the logo?
Yes, I found the code responsible for doing that (post#4). for example at megatron/templates/blocks/block--system-menu-block.html.twig. The problem is that I found the same code in more files and I'm not able to find the right one.
Thank you
Hello,
Sorry for the late respond. You should modify the code
Please follow:
1. Open file nav1-template.html.twig, nav2-template.html.twig, nav3-template.html.twig, which are all put in folder modules/custom/md_nav, tìm tên các folder chứa các file đó lần lượt là nav1, nav2, nav3
2. Find and replace:
with:
3. Save and clear Drupal cache