Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
<txp:section_list> combined with your own entries.
this is a little frustrating. i can’t figure out how to get a consistent look on this navbar:
<ul id="navbar">
<li class='section_list'><li>##register##</li>
<txp:section_list sections="about, kids, resources, support" wraptag="li" break="li" />
<li class='section_list'><li>##24hour##</li>
<li><span><txp:l10n_lang_list surpress_current="1" /></span></li>
</ul>
#navigation li, .section_list a {
font-family:verdana,helvetica,arial;
color:#495369;
display:inline;
list-style-type:none;
font-size:14px;
padding:5px;
margin-left:5px;
}
there are bigger gaps between register and the About. as well as support and 24 Hour. thanks!
Offline
Offline
Re: <txp:section_list> combined with your own entries.
mrtunes wrote:
try
<ul id="navbar">
<li class='section_list'><li>##register##</li>
<txp:section_list sections="about, kids, resources, support" break="li" />
<li class='section_list'><li>##24hour##</li>
<li><span><txp:l10n_lang_list surpress_current="1" /></span></li>
</ul>
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#4 2009-04-29 21:07:21
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: <txp:section_list> combined with your own entries.
Double <li>
s:
<li class='section_list'><li>
Offline
Re: <txp:section_list> combined with your own entries.
thank you for the replies guys.
what i have now is:
<ul id="navbar">
<li>##register##</li>
<txp:section_list sections="about, kids, resources" wraptag="" break="li" />
<li>##support##</li>
<li>##24hour##</li>
</ul>
<txp:l10n_lang_list surpress_current="1" />
and this seems to work properly! i guess it was a combination of things that made awkward gaps.
for anyone reading this and curious about what the 10n_lang is – it’s from the MLP plugin which toggles french and english. i moved it outside of the unordered list and gave it an absolute positioning so that when the language flips over to french, this button doesnt move around the bar.Offline