Page Class Suffix: How does it work? - Joomla! Forum - community, help and support


hello,

my newsarchive needs more width. read page class suffix , thought might job.

my template code:

code: select all

   <div id="center">
<?php if ( $option == 'com_frontpage' ) { ?>   
      <?php mosloadmodules ( 'welcome' ); ?>
<?php } ?>


my css file:

code: select all

#center {
         width: 500px;
   margin: 3px 0 10px 0;
   padding: 5px 10px 5px 15px;
   float:left;
   border: 0px solid #ccc;
   background: #ffffff;
}
#center.w {
         width: 800px;
   margin: 3px 0 10px 0;
   padding: 5px 10px 5px 15px;
   float:left;
   border: 0px solid #ccc;
   background: #ffffff;
}


in page class suffix field of newsarchive have entered center.w width stays @ 500 after save , reload. happens, example can see bg color of tables change width stays @ 500.

what doing wrong?

hi,

try changing "#center_w". then, on page class suffix, enter "_w". thats how works module suffixes.

regards robin





Comments