Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-08-26 09:24:47

gilibaus
Member
From: Italy
Registered: 2013-08-14
Posts: 91
Website

[CSS] Search box position

Hi,

my website homepage shows the search box at the bottom (uncorrectly), whereas other pages show the same box on top (correctly). Sorry for my noob question, but I am going crazy trying to fix this homepage behaviour. I guess it depends on the html markup of my txp default page, but I cannot find where the mistake is. Will you please help me?

Thanks!
Alessandro

Last edited by gilibaus (2015-08-26 09:25:51)

Offline

#2 2015-08-26 10:15:00

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

Re: [CSS] Search box position

Hi gilibaus, inside the .container-div there are two other top level children divs. The first one has no role. Give it “main” (look for <!-- left (main) column -->, the one below it), and up slips the search box.


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

Offline

#3 2015-08-26 12:15:39

gilibaus
Member
From: Italy
Registered: 2013-08-14
Posts: 91
Website

Re: [CSS] Search box position

Thanks uli, you saved the day :)
Yesterday I had removed all roles from default page for validation reasons, then this morning I had re-applied them. But evidently I had forgot the “main” one.
Thanks again.

Offline

Board footer

Powered by FluxBB