Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: FreshlyPressed Reboot
Your second method is probably the best as you have them above but for your first method you could use:-
<code>
<ul>
<li <txp:if_section name=”“>class=“active”<txp:else />class=“nonactive”</txp:if_section>><a href=”<txp:site_url />”>: Packages :</a></li>
</ul></code>
<br />
which would remove the “spacing” problem. There would be no particular need to actually style the “nonactive” class in your CSS, so no additions there, but there would be a slight increase in overall page code.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
Re: FreshlyPressed Reboot
I have to agree you know Stuart – the left positioning of the site makes me feel queezy. I just want to push my hand through the screen and slide it to the centre:)
Not that I am trying to pressure you in any way of course…
Offline
Re: FreshlyPressed Reboot
Ha haaa. I do like rocking the boat. It will be all the rage in a couple of months you know. Centred? So “old hat”.
Actually I do occassionally have the odd thought about an idea I might have had at some time or other to add something to the right side that doesn’t appear unless you are using a higher resolution than 800px. But that’s something for me to think about and you to find out about if it happens. :)
And PLEASE, don’t hold your breath. ;)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline