Jump to content


Photo
- - - - -
Open

Css



This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1 franckhelin

franckhelin

    Super Member

  • Members

  • 144 posts

Posted 17 November 2012 - 01:27 PM

How to create your own CSS styles in pagesline? I would then be able to call in any page or article.

Thank you very much.

#2 batman

batman

    Bat Learning

  • Members

  • 2219 posts

Posted 17 November 2012 - 09:25 PM

Hi franckhelin
You can create your own CSS styles add in
PageLines > Site Options > Custom Code > CSS Rules
or in
Pagelines Customize (plugin)
It is advisable to learn how to do this on your own too.
Check out

Please Login or Register to see this Hidden Content



If you need more CSS help, make sure you've downloaded Firebug for Firefox
and check out W3 Schools for more info.

Please Login or Register to see this Hidden Content



If you want a rules in a page only you can add something like (for example change de color of one page)

Please Login or Register to see this Hidden Content


If you also wish to know how I find the page ID, all you need to do is load up FireBug or Google Chromes web dev tool and inspect your page html, at the top you should see body which has a number of classes assigned to it, one of these is page-id-XX (replace XX with your pages id value. I have added a Dany┬┤s screenshot to assist you.

Please Login or Register to see this Hidden Content



#3 franckhelin

franckhelin

    Super Member

  • Members

  • 144 posts

Posted 18 November 2012 - 07:10 AM

Ok, but how to call CSS into html or article ?

#4 batman

batman

    Bat Learning

  • Members

  • 2219 posts

Posted 18 November 2012 - 01:16 PM



Hi again
One example
If you add

Please Login or Register to see this Hidden Content


All your title are red in your HTML
if you want red in one page you need add

Please Login or Register to see this Hidden Content


Do I understand do you want?
:)


#5 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts

Posted 18 November 2012 - 04:03 PM

You don't call CSS into a page or post directly. Stylesheets affect the whole site, but apply to elements that may appear only on specific pages or sections.

I'd recommend some basic learning about CSS which is free and found here:

Please Login or Register to see this Hidden Content