• Resolved elizabeth22

    (@elizabeth22)


    hey there. i want to change the look of one of my pages. i designed a site in dreamweaver and there i just add the css into the head of the html itself and it overrides the the css file. how do i do this for individual pages in wordpress?

Viewing 11 replies - 1 through 11 (of 11 total)
  • By adding the CSS to the theme’s stylesheet. You may also want to review Theme Development.

    Thread Starter elizabeth22

    (@elizabeth22)

    i hear ye. but does this not mean it’ll change every pages layout? how do i target an individual pages layout? i’ve skimmed the theme development & i can’t see where it gives instructions for this. can u point me int he right direction?

    does this not mean it’ll change every pages layout?

    Not if you target the CSS correctly.

    Thread Starter elizabeth22

    (@elizabeth22)

    ok so i don’t have to create a new page template for each page i want designed differently? there are a few things i want different on a page. to get me going in the right direction could u get me started. https://www.unicorndesign.net/wordpress/?page_id=8 i would like to change the font on the page. Do i have to target the page by targeting the ‘?page_id=8’? i mean do i have to include this page id in the css to target it

    If you get rid if the right-click disable, I might be able to help.

    Thread Starter elizabeth22

    (@elizabeth22)

    i guess i’ve got to go into my hosting account to do that, right? i’ll go have a look and see if i can find it.

    Thread Starter elizabeth22

    (@elizabeth22)

    ok that’s done. if you can help that would be great.

    That did it. If you start all of your new CSS rules with body.page-id-8, you will be able to change just the elements you want on that page and only that page. Try using Firefox with the Firebug add-on for this kind of CSS work. It’s a great tool.
    https://getfirebug.com/

    Thread Starter elizabeth22

    (@elizabeth22)

    thanks dude ?? i’ve got Firebug so i’ll work with that & add the body.page-id-8 into CSS. aw super. i’ll go try it now. many thanks for the help.

    Thread Starter elizabeth22

    (@elizabeth22)

    just tried that both by adding to CSS in Dashboard and then changing in my files and uploading via FTP. neither working so wondering if i’m writing correctly. e.g.
    body.page-id-8 #page_content_wrapper .inner .sidebar_content.full_width

    {
    width: 1600px;
    text-align: justify;
    }
    is this the correct way to write?

    Thread Starter elizabeth22

    (@elizabeth22)

    it’s ok. i managed it. cheers

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘editing css’ is closed to new replies.