0
Welcome Guest! Login
0 items Join Now

page class suffix and css

  • page class suffix and css

    Posted 16 years 1 month ago
    • I'm trying to have my home page have no margin around the "mainbody" and subsequesnt pages to have a margin. I understand that I should be able to do this by using a page class suffix on the pages I want to be different and changing some of the CSS in the template_css file. I have been able to do this with great success for Modules and with limited success for certain elements of pages (such as the heading) but this particular issue does not seem to be working for me. What I have discovered is that if I edit the padding in the following line of CSS I get the result i'm looking for across the entire site but I only want that change for certain pages. The trick is how do I create a page class for this line of code:
      td.mainbody .padding {
      padding: 40px;
      }
      I've tried:
      td.mainbody-mypageclass .padding {
      and
      td.mainbody .padding-mypageclass {
      and other variables but to no avail.
      Can anyone tell me specifically how to chage my CSS so that I will have different main content area padding between the homepage and other pages?rwatson
      Newbie

      Posts: 1
      Joined: Thu Jan 11, 2007 2:22 pm
      Private messageE-mail
  • Re: page class suffix and css

    Posted 16 years 1 month ago
    • North 100's Avatar
    • North 100
    • Sr. Rocketeer
    • Posts: 114
    • Thanks: 0
    • Since January 2000

    Re: page class suffix and css

    Posted 13 years 1 month ago
  • Re: page class suffix and css

    Posted 6 years 3 months ago
    • I second this request. Id like to see this explained if possible.
    • Do'er of stuff
  • Re: page class suffix and css

    Posted 6 years 3 months ago

Time to create page: 0.062 seconds