Hello,
when i add the search box
{% include 'partials/simplesearch_searchbox.html.twig' %}
in the Top of my Page the Box size is very long.
Where i can change the size to 300px width and 12px height?
thx
Hello,
when i add the search box
{% include 'partials/simplesearch_searchbox.html.twig' %}
in the Top of my Page the Box size is very long.
Where i can change the size to 300px width and 12px height?
thx
If you use the provided stylesheet and searchbox template it should be enough to override / extend the corresponding selector :
.search-wrapper .search-input .
Thank you, i found it in the simplesearch.css
But now when i put it in the navigation.html.twig
{% include 'partials/simplesearch_searchbox.html.twig' %}
{% macro loop(page) %}
{% for p in page.children.visible %}
{% set current_page = (p.active or p.activeChild) ? ‘active’ : ‘’ %}
{% if p.children.visible.count > 0 %}
{{ page.menu }}
</a>
</li>
{% endfor %}
{% endif %}
{% for mitem in site.menu %}
<li>
<a href="{{ mitem.url }}">
{% if mitem.icon %}<i class="fa fa-{{ mitem.icon }}"></i>{% endif %}
{{ mitem.text }}
</a>
</li>
{% endfor %}
{% if config.plugins.login.enabled and grav.user.username %}
<li><i class="fa fa-lock"></i> {% include 'partials/login-status.html.twig' %}</li>
{% endif %}
The Menue jump in the next line.
Also it scrolls down.
cu
Somebody have any Idea?