Page 4 of 4
Re: [new free template] fhs-megamaker
Posted: Sun May 24, 2020 1:29 pm
by frase
cmb wrote: ↑Sun May 24, 2020 12:20 pm
Hmm, it seems to me that a toplevel page without any visible subpages should not even be shown in the menu. To realize that, BwMenuLi::renderMenuItem() (templatefunctions.php line 71ff) can be changed to:
Danke. Kann ich womöglich erst morgen testen. Melde mich dann.
Re: [new free template] fhs-megamaker
Posted: Sun May 24, 2020 3:47 pm
by frase
cmb wrote: ↑Sun May 24, 2020 12:20 pm
Hmm, it seems to me that a toplevel page without any visible subpages should not even be shown in the menu. To realize that, BwMenuLi::renderMenuItem() (templatefunctions.php line 71ff) can be changed to:
Ich habe das jetzt mal getestet.
Prinzipiell funktioniert das, wenn es eine Level1-Seite ist ohne Unterseiten.
Wenn es "hidden" Unterseiten hat, stört es weiterhin das Menü.
Viel schlimmer ist aber, dass der Link im Menü zwar wirklich nicht erscheint, aber es ist ein leerer <li>...</li>-Tag vorhanden, was das Menü eigentlich noch mehr stört - eine Riesen-Lücke im flex-Container.
Re: [new free template] fhs-megamaker
Posted: Sun May 24, 2020 4:21 pm
by roze
Christoph,
Thanks for you answer.
but unfortunately the is stil a disturbance in the looks of the menu.
Grtz, Rob
Re: [new free template] fhs-megamaker
Posted: Wed Jun 03, 2020 10:53 am
by roze
I want a previous-next-top in the middle under my pages. In Dutch: vorige-Top-Volgende
after my modification it looks like this:
vorigevolgende.png
I've made a change in the template like this:
Code: Select all
</article>
</main>
</div>
<div id="tplge_prevtopnext" class="tplge_prevtopnext">
<span><?php echo previouspage('prev.gif');?></span>
<span><?php echo top('top.gif');?></span>
<span><?php echo nextpage('next.gif');?></span>
</div>
<footer class="row-full-width" id="footer">
And in the CSS like this:
Code: Select all
abbr {
text-decoration: none;
border: 0;
}
/* prev-top-next */
.tplge_prevtopnext {clear: both; text-align: center; border-top: 0px solid #aaa; padding: 8px 0 0 0; margin: 36px 0 16px 0;}
#tplge_prevtopnext span {padding: 0 16px;}
/*** Footer ***/
What do I have to change to position in the center?
This is my start page:
http://nieuw.perfectsound.org/?Vocalgro ... d/Over-ons
Re: [new free template] fhs-megamaker
Posted: Wed Jun 03, 2020 1:12 pm
by Tata
Try to find it here
https://css-tricks.com/snippets/css/a-guide-to-flexbox/.
About so:
Code: Select all
tplge_prevtopnext:{width: 100%;
dislpay:flex;
justify-content:center;
}
Eventually try
justify-content: space-between, space-around, or space-evenly.
Re: [new free template] fhs-megamaker
Posted: Wed Jun 03, 2020 3:08 pm
by roze
thank you tata,
I've changed the CSS like this:
Code: Select all
}
abbr {
text-decoration: none;
border: 0;
}
/* prev-top-next */
tplge_prevtopnext:{width: 100%;
dislpay:flex;
justify-content:space-evenly;
}
/*** Footer ***/
and also tried:
justify-content: space-between;
justify-content: space-around;
justify-content: center;
without result
Re: [new free template] fhs-megamaker
Posted: Wed Jun 03, 2020 5:48 pm
by lck
roze wrote: ↑Wed Jun 03, 2020 3:08 pm
without result
There are a few bugs in the code, try:
Code: Select all
.tplge_prevtopnext {
width: 100%;
display: flex;
justify-content: space-evenly;
}
Re: [new free template] fhs-megamaker
Posted: Thu Jun 04, 2020 11:52 am
by roze
Thank you.
It works!