Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

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

Andrey Voev

  • Newbie
  • *
  • Karma: 0
  • Posts: 8
    • http://www.live-in-vegas.com
Center tag with H2 class
« on: April 29, 2007, 06:33:07 pm »

Hi,
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 "

Something

" and i want  to say "

Something

"

How and where i can edit that ?

Thank you very much.
Logged

philmoz

  • 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...


css.
.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.

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