Please login or register.

Login with username, password and session length
Advanced search  


You need/want an older version of sNews ? Download an older/unsupported version here.

Author Topic: Center tag with H2 class  (Read 2280 times)

Andrey Voev

  • Newbie
  • *
  • Karma: 0
  • Posts: 8
Center tag with H2 class
« on: April 29, 2007, 06:33:07 pm »

i have an template which i successfully implemented with sNews.
The problem is that i need to have an specific class for h2 - i mean the result from right now is "


" and i want  to say "



How and where i can edit that ?

Thank you very much.


  • High flyer
  • ULTIMATE member
  • ******
  • Karma: 161
  • Posts: 1988
    • fiddle 'n fly
Center tag with H2 class
« Reply #1 on: April 29, 2007, 06:53:48 pm »

well, you could wrap  center in a div, and apply formatting to the div content...

.central h2 { styles for h2 }

or, to hack code, look in function center(), and locate
file_include(str_replace('[break]', '', $text), $shorten);
a few lines above that, I believe is the

tag you are looking for.

Of all the things I have lost, it is my mind that I miss the most.