css and pages

  • Unknown's avatar

    hello there fellow bloggers!!!

    i am new to wordpress but i love it already.great work. i am learning its new features.

    i am a web developer and i use a lot css and javascript. browsing the forums i saw that javascript is not supported. for css i saw that one may buy the Custom CSS upgrade. but my problem is this.

    i want to create a new page.i put a title and then the main body of the page.then i add on the top of the page i add the internal stylesheet.see the code below.

    my problem is that in my html editor i see the css effects on the html tags but in the wordpress page when i publish it, the css tags are translated into pure text and the css is not applied to the html tags. thanks a lot. have a look below
    my example

    **************************************

    <style type=”text/css”>

    h1{color:#800080;font family:verdana;font-size:26px;text-decoration:overline;background-color:#c9c3ed}

    h4{color:#ddee34;font-size:20px;line-height:2.0}

    </style>

    <h1>Hello there fellow bloggers!!!!</h1>
    <h4>i am a web developer but i am new to wordpress blog.
    i am trying to learn its features. i am amazed by its ease of use and
    abundance of reliable and excellent functionality it offers.it is also so much fun. i like its amazing themes and widgets. </h4>

    ************************************

  • Unknown's avatar

    You cannot apply CSS in this way. You can only apply it if you purchase the upgrade; without that you can make no changes whatsoever to the CSS. You can ONLY make changes via line editing the HTML.

  • Unknown's avatar

    so you tell me that if i purchase the css upgrade i will be able not only to change the css of the current theme but also i can write and apply css styles to a post and a page?

    thanks

  • Unknown's avatar

    The theme applies to posts and pages. You cannot change the appearance of individual pages. It’s all or nothing.

  • Unknown's avatar
  • Unknown's avatar

    Well I’m not going to hold my breath waiting for you to elaborate: you never do.

  • Unknown's avatar
    thistimethisspace · Member ·

    @atthe404
    Could you please expand on that?

  • Unknown's avatar

    CSS can be applied to anything as much or as little as you like. I think *you never do* is a bit harsh :)

  • Unknown's avatar
    thistimethisspace · Member ·

    So styles for pages and posts can be changed using css, provided one knows how to do this? Is that correct?

  • Unknown's avatar

    Yes right on. As long as you do not support Liverpool FC. :)

  • Unknown's avatar
    thistimethisspace · Member ·

    Liverpool? no sir :)

  • Unknown's avatar

    i understand that once you purchase the css upgrae you can change the theme. i also understand that once you change the theme, that theme is applied to all pages or posts.

    what is ask is this. if i purchase css upgrade, and write the code below in a post or page

    will the css reflect on the html tags and be correctly translated by the browser? or i will still see the css tags as pure text. thanks

    <style type=”text/css”>

    h1{color:#800080;font family:verdana;font-size:26px;text-decoration:overline;background-color:#c9c3ed}

    </style>

    <h1>Hello there fellow bloggers!!!!</h1>

  • Unknown's avatar

    Since the changes can be previewed but not saved until or unless you buy the upgrade, you can just pop that code in right now and hit the preview button.

  • Unknown's avatar

    @the404: If you know the answer, put it here. If you don’t know the answer, don’t post to the thread. If you do know the answer but you’re not going to contribute it to the help forum until someone asks you using your special magical password, you’re not actually helping much. Put out or stay out. That’s what the technical help forum is for; asking and answering, not dropping koans and waiting to be begged. We don’t have the time, dear.

  • Unknown's avatar

    Nikola,

    If I understand your question well, you can’t write CSS code in the textarea where you write your post/page. It’ll get stripped out.

    But if in your editor write this:

    <h1 class=”myclass”>Hello there fellow bloggers!!!!</h1>

    and you define a ‘myclass’ class selector in your CSS(*), then you could accomplish what you want.

    HTH

    —–

    (*)You add/edit your CSS in Presentation > Edit CSS.

  • Unknown's avatar

    @raincoaster

    The theme applies to posts and pages. You cannot change the appearance of individual pages. It’s all or nothing.

    This has nothing to do with my answering the question or not. But what you posted just ain’t right. Wish it was. But its not. Anything in isolation or in combination can be style using CSS.

  • Unknown's avatar

    “How?” is the question here. If no-one who is contributing to the thread knows the answer to that, the answer is that effectively, it can’t be. If someone who knew how would post the instructions, of course, the answer would be yes. But that isn’t happening, is it? So my answer is correct.

  • Unknown's avatar

    Well that is certainly not the way I read this thread but I am going to bow out gracefully.

  • Unknown's avatar

    I think you can if you copy and paste code without using the visual editor. I do it all the time. I have purchased the CSS, but there is stuff that I like doing, like dropcaps, once in a while. I take the code from http://mandarindesign.com and copy and paste it in my page or in my post and it works. Like here http://blogginginparis.com/2006/06/28/a-feminist-or-not/
    I have tried this on a trial blog where I don’t have the css and it’s working just the same.
    The only thing is the visual editor must not be active for this to work.

  • Unknown's avatar

    hi again. i am confused. some people(claudecf) say that i can use css in posts and pages and some say i cannot. i know how to use css very well. the thing i am trying to accomplish is this. i need to have css in posts and pages. imagine that i am going to have 3 images in a post. all these images will be in a table. i want to format and give layout to this table in the post throug css. how do i do that?

    do i need to purchase the css upgrade yes or no?

    is it only for 1 year?

    and can i use the css upgrade for all my blogs into my account.

    urgent help needed.

    many thanks to all for your input

  • The topic ‘css and pages’ is closed to new replies.