Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-03-29 03:45:02

fos
New Member
Registered: 2015-03-29
Posts: 4

How can I put search input beside section list?

I use the default theme, I tried add <txp:search_input /> after section, but it’s not right.

</txp:section_list> </nav>
<txp:search_input />

Take a look at this pic you will know what I mean.
http://oi58.tinypic.com/2di37zr.jpg

Please help.

Offline

#2 2015-03-29 14:12:29

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: How can I put search input beside section list?

Hi fos, and welcome to the Textpattern forum!

OTOH, not tested:

  1. Empty the section_list’s wraptag attribute, i.e. wraptag="". (If there’s none, add it.)
  2. Wrap the section_list container in <ul>.
  3. Put your <txp:search_input /> between these </txp:section_list> </ul>
  4. Finally, wrap search_input in <li>

If you can’t make it work, please post the complete <nav> here, not only the end.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#3 2015-03-29 16:23:49

fos
New Member
Registered: 2015-03-29
Posts: 4

Re: How can I put search input beside section list?

got it , thanks

Offline

Board footer

Powered by FluxBB