Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-08-12 21:12:11

tometome
New Member
Registered: 2014-08-12
Posts: 7

image CSS formatting

After an update from a somewhat older version of TXP i’m having an issue on defaulting styles.
I’ve already posted about that under “troubleshooting” (http://forum.textpattern.com/viewtopic.php?id=42078)

in the meanwhile, developer noob question:

How do I set the images here http://tomeduarte.com
to go

1) on the right side of the menu, instead of under?

2) with horizontal scroll bar, instead of vertical?

Offline

#2 2014-08-12 21:21:19

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,400

Re: image CSS formatting

The link to your CSS seems to bee wrong or the CSS doesn’t exist.

So I can’t see any float.

Also is missing the body open tag:

</head>
<div id="side">

Offline

#3 2014-08-12 21:43:35

tometome
New Member
Registered: 2014-08-12
Posts: 7

Re: image CSS formatting

Many thanks for the reply.

I’ve corrected that open tag.

The “theme” I’m using was developed by a friend a couple years ago, I’m virtually illiterate concerning programming/developing, all I can do is search the forums for hints, check my server, check the TXP admin panel and guess what these words mean and what they do, trial and error.

I upgraded to the latest version by replacing some files on the server and TXP seems to be correctly installed, and all my previous content is there – including the styles sheet under “presentation>style” on the TXP admin panel.

Can you explain what might be missing in noob language?

If all the previous content is appearing correctly on the admin panel, maybe this has something to do with updating from such an older version? Should I change some files directly on the server?

Offline

#4 2014-08-12 23:58:26

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,400

Re: image CSS formatting

If you can find a tag <txp:css n="default" format="link" />, then replace the attribute n="default" by name="default".

See in the documentation.

Last edited by GugUser (2014-08-13 00:00:59)

Offline

#5 2014-08-13 12:52:19

tometome
New Member
Registered: 2014-08-12
Posts: 7

Re: image CSS formatting

As pointed by uli on the other thread, there were a few things missing on the server – including css.php file, like you first suggested.
Many thanks for your support!

Offline

#6 2014-08-28 13:44:30

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: image CSS formatting

I have the same problem moving from 4.3.0 to 4.5.5… I’m searching&replacing all n=default with name=default , anyway the error is still there:

Tag error: <txp:css n=“default” format=“link” /> -> Textpattern Notice: n attribute is deprecated. while parsing form None on page None

Can you help me? Where I have to look for?

Offline

#7 2014-08-28 14:01:40

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

Re: image CSS formatting

Have you thought of the cache? Are there txp:css tags with names other than “default” to be searched for?


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

Offline

#8 2014-08-28 14:20:02

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: image CSS formatting

Cache alredy cleaned.
My custom CSS has another name, different from default.
I’m missing something but I don’t know where to looking for…

Already (re)checked the default page and all the related forms: no deprecated tag anymore… :(

Edit: SOLVED! I’ve changed the site url, then changed again (to the original one) and it worked! At the end I think it was cache… like you said.

Last edited by candyman (2014-08-28 14:48:27)

Offline

#9 2014-08-28 17:53:26

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: image CSS formatting

A part of my site isn’t displayed correctly (in local).

The css is that:

.wrap { width:960px; margin:0 auto; overflow:auto;
}

#top-panel { background:#ABD url(/images/top-panel.png) center bottom no-repeat;
}

and I think it’s due to the fact that, locally, I can’t get clean urls running.

Any suggestion? I use XAAMP with Mac.

Last edited by candyman (2014-08-28 18:21:38)

Offline

#10 2014-08-28 18:05:37

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,164
Website

Re: image CSS formatting

candyman wrote #283311:

and I think it’s due to the fact that, locally, I can’t get clean urls running..

It’s probably the case. I never managed to get clean urls using MAMP. I always work with messy on localhost


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

Board footer

Powered by FluxBB