Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2019-10-11 22:37:27

ozgurgunes
New Member
Registered: 2019-10-11
Posts: 1

remove the two menu buttons from the navigation menu

Hello there. I downloaded and tried the textpattern and i really like it. But I couldn’t do what I wanted. I would like to completely remove the two buttons from the menu above and keep the search input in the right side.

please look at the picture this is exactly what I want to do.

which code I add or change in the header template to do this?

https://i.postimg.cc/85GkwTBT/textpattern.jpg

the site is

https://ozelsayfam.com

Last edited by ozgurgunes (2019-10-12 05:15:06)

Offline

#2 2019-10-12 06:19:54

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

Re: remove the two menu buttons from the navigation menu

Hi ozgurgunes and welcome to txp

To remove the sections navigation go to presentation > miscellaneous on the side bar > body_header

In the form delete

        <txp:section_list default_title='<txp:text item="home" />' include_default wraptag="ul" break="">
            <li<txp:if_section name='<txp:section />'> class="active"</txp:if_section>>
                <a itemprop="url" href="<txp:section url />">
                    <txp:section title />
                </a>
            </li>
        </txp:section_list>

Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2019-10-12 16:31:33

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,072
Website Mastodon

Re: remove the two menu buttons from the navigation menu

ozgurgunes wrote #319681:

Hello there. I downloaded and tried the textpattern and i really like it. But I couldn’t do what I wanted. I would like to completely remove the two buttons from the menu above and keep the search input in the right side.

please look at the picture this is exactly what I want to do.

which code I add or change in the header template to do this?

https://i.postimg.cc/85GkwTBT/textpattern.jpg

the site is

https://ozelsayfam.com

is there a reason for all those dating pictures that appear on the page where you direct us to see your example of the header?

Apologies. i have been told this is free image hosting service… but they surround the page with ads.

Last edited by bici (2019-10-13 00:38:59)


…. texted postive

Offline

#4 2019-10-13 10:34:22

etc
Developer
Registered: 2010-11-11
Posts: 5,028
Website GitHub

Re: remove the two menu buttons from the navigation menu

Nice to see the site is taking shape now, welcome and have fun with txp!

Offline

#5 2019-10-13 20:40:11

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,072
Website Mastodon

Re: remove the two menu buttons from the navigation menu

etc wrote #319693:

Nice to see the site is taking shape now, welcome and have fun with txp!

Yes! what a well done site. Bold and simple!


…. texted postive

Offline

Board footer

Powered by FluxBB