[Pier] how to change the css

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[Pier] how to change the css

cdelaunay
Hello,
I'm currently playing a bit with pier and have some difficulties about setting my own css style. 
I would like to know if it is possible in pier to say 'use this css file for the whole blog'? 
I would like to retrieve the default css, base my new css file on top of this one (to know the css classes, id used), and apply it.

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [Pier] how to change the css

John McKeon
Hello Cyrille,
Use the Edit Settings command to set the stylesheet of a pier structure.
 
Navigate to the current default stylesheet of your pier (mine is under /System/Compoents) and then use the Copy command to make a duplicate with a different name.
 
Point the blog's stylesheet to the new stylesheet and edit away.
 
This also applies to changing the environment of a structure.
 
Hope this helps
John
 
 
On Thu, Sep 9, 2010 at 4:45 AM, Cyrille Delaunay <[hidden email]> wrote:
Hello,
I'm currently playing a bit with pier and have some difficulties about setting my own css style. 
I would like to know if it is possible in pier to say 'use this css file for the whole blog'? 
I would like to retrieve the default css, base my new css file on top of this one (to know the css classes, id used), and apply it.

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




--
http://john-mckeon.us

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [Pier] how to change the css

cdelaunay
So here is wht I tried:
When i'm on a page, I click on the command 'edit design'. It open an editor on the default css (for me, using the pier on click image, it seems to be 'eventCss', am I right?).
So here I guess I'm able to edit the default css. But when I change some parameters in the css code, it doesn't modify anything on my web page. 
What is more strange, is that if I delete all the text from the editor, this time the change is taken into account, and my web page is rendered without any Css style. If I tried just to write  a comment (like /*comment*/ ) in the editor, then the default design re-appear.
There is surely something I missed ? :)

2010/9/9 John McKeon <[hidden email]>
Hello Cyrille,
Use the Edit Settings command to set the stylesheet of a pier structure.
 
Navigate to the current default stylesheet of your pier (mine is under /System/Compoents) and then use the Copy command to make a duplicate with a different name.
 
Point the blog's stylesheet to the new stylesheet and edit away.
 
This also applies to changing the environment of a structure.
 
Hope this helps
John
 
 
On Thu, Sep 9, 2010 at 4:45 AM, Cyrille Delaunay <[hidden email]> wrote:
Hello,
I'm currently playing a bit with pier and have some difficulties about setting my own css style. 
I would like to know if it is possible in pier to say 'use this css file for the whole blog'? 
I would like to retrieve the default css, base my new css file on top of this one (to know the css classes, id used), and apply it.

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




--
http://john-mckeon.us

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [Pier] how to change the css

John McKeon
Did you try pressing F5/Refresh to get the CSS to reload?

 
On Thu, Sep 9, 2010 at 9:56 AM, Cyrille Delaunay <[hidden email]> wrote:
So here is wht I tried:
When i'm on a page, I click on the command 'edit design'. It open an editor on the default css (for me, using the pier on click image, it seems to be 'eventCss', am I right?).
So here I guess I'm able to edit the default css. But when I change some parameters in the css code, it doesn't modify anything on my web page. 
What is more strange, is that if I delete all the text from the editor, this time the change is taken into account, and my web page is rendered without any Css style. If I tried just to write  a comment (like /*comment*/ ) in the editor, then the default design re-appear.
There is surely something I missed ? :)

2010/9/9 John McKeon <[hidden email]>

Hello Cyrille,
Use the Edit Settings command to set the stylesheet of a pier structure.
 
Navigate to the current default stylesheet of your pier (mine is under /System/Compoents) and then use the Copy command to make a duplicate with a different name.
 
Point the blog's stylesheet to the new stylesheet and edit away.
 
This also applies to changing the environment of a structure.
 
Hope this helps
John
 
 
On Thu, Sep 9, 2010 at 4:45 AM, Cyrille Delaunay <[hidden email]> wrote:
Hello,
I'm currently playing a bit with pier and have some difficulties about setting my own css style. 
I would like to know if it is possible in pier to say 'use this css file for the whole blog'? 
I would like to retrieve the default css, base my new css file on top of this one (to know the css classes, id used), and apply it.

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




--
http://john-mckeon.us

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




--
http://john-mckeon.us

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [Pier] how to change the css

cdelaunay
Just try, and it does not change. Whatever I type in the editor (even non css code), it apply the default css.

2010/9/9 John McKeon <[hidden email]>
Did you try pressing F5/Refresh to get the CSS to reload?

 
On Thu, Sep 9, 2010 at 9:56 AM, Cyrille Delaunay <[hidden email]> wrote:
So here is wht I tried:
When i'm on a page, I click on the command 'edit design'. It open an editor on the default css (for me, using the pier on click image, it seems to be 'eventCss', am I right?).
So here I guess I'm able to edit the default css. But when I change some parameters in the css code, it doesn't modify anything on my web page. 
What is more strange, is that if I delete all the text from the editor, this time the change is taken into account, and my web page is rendered without any Css style. If I tried just to write  a comment (like /*comment*/ ) in the editor, then the default design re-appear.
There is surely something I missed ? :)

2010/9/9 John McKeon <[hidden email]>

Hello Cyrille,
Use the Edit Settings command to set the stylesheet of a pier structure.
 
Navigate to the current default stylesheet of your pier (mine is under /System/Compoents) and then use the Copy command to make a duplicate with a different name.
 
Point the blog's stylesheet to the new stylesheet and edit away.
 
This also applies to changing the environment of a structure.
 
Hope this helps
John
 
 
On Thu, Sep 9, 2010 at 4:45 AM, Cyrille Delaunay <[hidden email]> wrote:
Hello,
I'm currently playing a bit with pier and have some difficulties about setting my own css style. 
I would like to know if it is possible in pier to say 'use this css file for the whole blog'? 
I would like to retrieve the default css, base my new css file on top of this one (to know the css classes, id used), and apply it.

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




--
http://john-mckeon.us

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




--
http://john-mckeon.us

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [Pier] how to change the css

John McKeon
Hmmm, I just downloaded the Pier 1.2 one-click and it does work for me. Had to click apply and F5 a couple of times before it took. 
I am using IE8.
I am forwarding this to the Pier list at [hidden email] in case someone more knowledgeable has an idea what your problem might be.
 
John
 
On Thu, Sep 9, 2010 at 10:25 AM, Cyrille Delaunay <[hidden email]> wrote:
Just try, and it does not change. Whatever I type in the editor (even non css code), it apply the default css.


2010/9/9 John McKeon <[hidden email]>
Did you try pressing F5/Refresh to get the CSS to reload?

 
On Thu, Sep 9, 2010 at 9:56 AM, Cyrille Delaunay <[hidden email]> wrote:
So here is wht I tried:
When i'm on a page, I click on the command 'edit design'. It open an editor on the default css (for me, using the pier on click image, it seems to be 'eventCss', am I right?).
So here I guess I'm able to edit the default css. But when I change some parameters in the css code, it doesn't modify anything on my web page. 
What is more strange, is that if I delete all the text from the editor, this time the change is taken into account, and my web page is rendered without any Css style. If I tried just to write  a comment (like /*comment*/ ) in the editor, then the default design re-appear.
There is surely something I missed ? :)

2010/9/9 John McKeon <[hidden email]>

Hello Cyrille,
Use the Edit Settings command to set the stylesheet of a pier structure.
 
Navigate to the current default stylesheet of your pier (mine is under /System/Compoents) and then use the Copy command to make a duplicate with a different name.
 
Point the blog's stylesheet to the new stylesheet and edit away.
 
This also applies to changing the environment of a structure.
 
Hope this helps
John
 
 
On Thu, Sep 9, 2010 at 4:45 AM, Cyrille Delaunay <[hidden email]> wrote:
Hello,
I'm currently playing a bit with pier and have some difficulties about setting my own css style. 
I would like to know if it is possible in pier to say 'use this css file for the whole blog'? 
I would like to retrieve the default css, base my new css file on top of this one (to know the css classes, id used), and apply it.

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




--
http://john-mckeon.us

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




--
http://john-mckeon.us

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




--
http://john-mckeon.us

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: [Pier] how to change the css

Boris Popov, DeepCove Labs (SNN)

You can force cache refresh in all browsers by holding down shift while refreshing the page, saves you from hitting refresh multiple times.

 

-Boris

 

--

DeepCove Labs Ltd.

+1 (604) 689-0322

4th floor, 595 Howe Street

Vancouver, British Columbia

Canada V6C 2T5

http://tinyurl.com/r7uw4

 

PacNet Services (Europe) Ltd.

+353 (0)61 714-360

Shannon Airport House, SFZ

County Clare, Ireland

http://tinyurl.com/y952amr

 

CONFIDENTIALITY NOTICE

 

This email is intended only for the persons named in the message header. Unless otherwise indicated, it contains information that is private and confidential. If you have received it in error, please notify the sender and delete the entire message including any attachments.

 

Thank you.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of John McKeon
Sent: 09 September 2010 16:09
To: Seaside - general discussion; Magritte, Pier and Related Tools ...
Subject: Re: [Seaside] [Pier] how to change the css

 

Hmmm, I just downloaded the Pier 1.2 one-click and it does work for me. Had to click apply and F5 a couple of times before it took. 

I am using IE8.

I am forwarding this to the Pier list at [hidden email] in case someone more knowledgeable has an idea what your problem might be.

 

John

 

On Thu, Sep 9, 2010 at 10:25 AM, Cyrille Delaunay <[hidden email]> wrote:

Just try, and it does not change. Whatever I type in the editor (even non css code), it apply the default css.

 

2010/9/9 John McKeon <[hidden email]>

Did you try pressing F5/Refresh to get the CSS to reload?


 

On Thu, Sep 9, 2010 at 9:56 AM, Cyrille Delaunay <[hidden email]> wrote:

So here is wht I tried:

When i'm on a page, I click on the command 'edit design'. It open an editor on the default css (for me, using the pier on click image, it seems to be 'eventCss', am I right?).

So here I guess I'm able to edit the default css. But when I change some parameters in the css code, it doesn't modify anything on my web page. 

What is more strange, is that if I delete all the text from the editor, this time the change is taken into account, and my web page is rendered without any Css style. If I tried just to write  a comment (like /*comment*/ ) in the editor, then the default design re-appear.

There is surely something I missed ? :)

2010/9/9 John McKeon <[hidden email]>

 

Hello Cyrille,

Use the Edit Settings command to set the stylesheet of a pier structure.

 

Navigate to the current default stylesheet of your pier (mine is under /System/Compoents) and then use the Copy command to make a duplicate with a different name.

 

Point the blog's stylesheet to the new stylesheet and edit away.

 

This also applies to changing the environment of a structure.

 

Hope this helps

John

 

 

On Thu, Sep 9, 2010 at 4:45 AM, Cyrille Delaunay <[hidden email]> wrote:

Hello,

I'm currently playing a bit with pier and have some difficulties about setting my own css style. 

I would like to know if it is possible in pier to say 'use this css file for the whole blog'? 

I would like to retrieve the default css, base my new css file on top of this one (to know the css classes, id used), and apply it.

 

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




--
http://john-mckeon.us

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

 


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




--
http://john-mckeon.us


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

 


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside




--
http://john-mckeon.us


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [Pier] how to change the css

Yanni Chiu
In reply to this post by John McKeon
Hello Cyrille,

IIUC, the original suggestion was to make a copy of the default
stylesheet, modify the copy, then point your blog's stylesheet at the
modified copy.

 From your description, I think you've modifed the default stylesheet
itself. I recall having seen some odd behaviour when I modified the
default stylesheet, but I never investigated further - I just stopped
doing that.

--
Yanni Chiu

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: [Pier] how to change the css

cdelaunay
Ok, it was indeed  a problem coming from not refreshing the page :)
Thanks for your answers and sorry for the inconvenience.


2010/9/9 Yanni Chiu <[hidden email]>
Hello Cyrille,

IIUC, the original suggestion was to make a copy of the default stylesheet, modify the copy, then point your blog's stylesheet at the modified copy.

>From your description, I think you've modifed the default stylesheet itself. I recall having seen some odd behaviour when I modified the default stylesheet, but I never investigated further - I just stopped doing that.

--
Yanni Chiu


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside