0
Welcome Guest! Login
0 items Join Now

iridium page class suffix

  • iridium page class suffix

    Posted 15 years 5 months ago
    • Hello, i have the following problem:

      i have normal #maincontent-block with padding of 40px (template.css):
      #maincontent-block {
      padding: 40px 40px 0 40px; 
      background-color:#252525; 
      color:#fff; 
      min-height:384px;}

      In order to change that in a wrapper menu item, i did the following:

      1) insert the suffix instalacoes in the Page Class Suffix menu item parameter
      2) in template.css, add:
      #maincontent-block .instalacoes{
      padding:0;
      }

      BUT The template main content keeps the 40px of padding.

      It shouldn´t right? what am i doing wrong?

      thanks,

      mariana
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: iridium page class suffix

    Posted 15 years 5 months ago
    • ..
    • Last Edit: 15 years 5 months ago by Henning.
  • Re: iridium page class suffix

    Posted 15 years 5 months ago
    • .instalacoes #maincontent-block {
      padding:0;
      }

      That would be better as the page class suffix is appended to the BODY tag in the template, notwithstanding, the various Joomla 'bits'.
    • James Spencer / Developer & Support / Hull, UK
  • Re: iridium page class suffix

    Posted 15 years 5 months ago
    • Henning wrote:
      ..

      hello...what was this?

      thanks James,

      i was silly not to try it before posting....;)

      Mariana.
  • Re: iridium page class suffix

    Posted 15 years 5 months ago
    • Try not to double-post in the future :)

      Cheers.

Time to create page: 0.076 seconds