Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

Last resort for the help that I need. :(

Aloittaja Swifty550, elokuu 14, 2011, 12:21:25 IP

« edellinen - seuraava »

Swifty550

I'm using the Gamer Blue adapted theme by Jihad from Skinmod.eu with SMF 2.0. I've also tested it with a few themes from Dzinerstudio.com

The problem is, when I install TP it moves the views/replies text alignment from the center to the left. When I uninstall TP it all goes back to normal? I'm wondering what could be causing this issue?

Without Tinyportal installed;



With Tinyportal installed;



I've already asked on TP.net, they say it's probably a theme problem. I've asked on Skinmod.eu but they don't seem to be replying so here is my only other place to ask.


Help is appreciated, thanks.

Sir Osis of Liver


There may be a duplicate style name in the css for the theme and portal that are conflicting.

When in Emor, do as the Snamors.
                              - D. Lister

Swifty550

Hey, thanks for your reply.

Do you have any idea what I would need to look for?

Thanks.

Sir Osis of Liver


You have to find the code in BoardIndex.template.php that displays the category header, see which css style is being called, and try renaming it there and in /css/index.css, or you could just add the style to the line in BoardIndex.
When in Emor, do as the Snamors.
                              - D. Lister

Swifty550

Lainaus käyttäjältä: Krash. - elokuu 14, 2011, 04:05:04 IP

You have to find the code in BoardIndex.template.php that displays the category header, see which css style is being called, and try renaming it there and in /css/index.css, or you could just add the style to the line in BoardIndex.
Sorry, but you've totally lost me there. :(

Sir Osis of Liver


Attach your BoardIndex.template.php and /css/index.css.
When in Emor, do as the Snamors.
                              - D. Lister

Swifty550

Figured it thanks; had to go to default/messageindex.template and add;

align="center"

to;

<th scope="col" width="14%" align="center"><a href="', $scripturl, '?board=', $context['current_board'], '.', $context['start'], ';sort=replies', $context['sort_by'] == 'replies' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['replies'], $context['sort_by'] == 'replies' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" />' : '', '</a> / <a href="', $scripturl, '?board=', $context['current_board'], '.', $context['start'], ';sort=views', $context['sort_by'] == 'views' && $context['sort_direction'] == 'up' ? ';desc' : '', '">', $txt['views'], $context['sort_by'] == 'views' ? ' <img src="' . $settings['images_url'] . '/sort_' . $context['sort_direction'] . '.gif" alt="" />' : '', '</a></th>';

That's sorted it.

Thanks! :)

Sir Osis of Liver


Should have realized from your screenshot it was MessageIndex, not BoardIndex. :P
When in Emor, do as the Snamors.
                              - D. Lister

Advertisement: