Adding to a CSS style a new page design

Discussion in 'CSS' started by Skinzeeteam, May 29, 2008.

  1. #1
    Hi there. I´m not sure if this is the correct place to post this but it certainly has to do with CSS.
    I have designed a PSD for a homepage for a website. The website is iws-host dot com. That website runs with a script called layeredpanel. So I only have to design the homepage and the content of the rest of the pages is given by the script.

    Now, by having a new CSS style for the homepage, I change the default CSS style and then the content of the script (the other pages) are all messed up.

    What´s the best way to integrate the new homepage CSS into the default CSS style? so that both the homepage and the content of the script have the correct view.

    I attach the default CSS that comes with the website you see now and I also attach the new CSS for the homepage I designed.

    When I integrated the new CSS, you can see in the images that I attach that the content of the script is a mess cause doesnt have a CSS.

    I would really appreciate any help- And if someone is happy to re-code for me so that everything looks ok, then I can payi to you. I have heaps of this type of work. I design the PSD and need someone to do it succesfully so that all the pages look great as in the default website you can see now.

    thanks
    Nat
     

    Attached Files:

    Skinzeeteam, May 29, 2008 IP
  2. Luci

    Luci Peon

    Messages:
    59
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you have a html tag in lines 28 and 71 of your new css

    to keep the default theme looking the same, you have to keep all the original classes and ids

    if you have custom classes for your new css, just add them in without deleting the default ones
     
    Luci, May 30, 2008 IP
  3. Normac

    Normac Peon

    Messages:
    40
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It sounds lke you've replaced the CSS from one theme with another and expected it to work. All the class names need to be the same as their corresponding bits, make sure the css files are the same, and any new classes need to be added to the code as so:

    <div class="name">
     
    Normac, May 30, 2008 IP
    SEO-Expert likes this.