Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-03-16 18:19:34

carrotrope
Member
From: Edinburgh
Registered: 2007-03-16
Posts: 39

Styling search_input / feeds

Hi all,

This is my first post here so do bare with me. I’ve had a browse through the FAQ and made some unsuccessful searches on the forum but haven’t found anything to help me with this.

I’m sure it’s quite simple – I have a left-hand sidebar with all my categories formatted, and at the base I have the search box and the links to RSS and Atom feeds, but I’m struggling with formatting them to fit in with the rest of the menu. You can see what I mean here

I need to format both the text saying ‘Search’, ‘RSS’ and ‘Atom’ aswell as the actual search input box. I’ve attempted surrounding the txp tags with span tags, using the ‘wraptag=div’ tag and linking it to a style in the stylesheet but it doesn’t seem to change.

Any help? Thanks in advance,
Jez.

Offline

#2 2007-03-16 18:40:01

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Styling search_input / feeds

  • For feed_link (“RSS”/“Atom”), I would forgo using a wraptag, and apply one with a CSS class manually.
  • For search_input I would put an additional (X)HTML tag and CSS class around the Txp tag.

Offline

#3 2007-03-16 19:08:20

carrotrope
Member
From: Edinburgh
Registered: 2007-03-16
Posts: 39

Re: Styling search_input / feeds

Thanks Mary! Dead simple as I expected :)

Jez.

Offline

Board footer

Powered by FluxBB