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;
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi56.tinypic.com%2F24g0go3.jpg&hash=da87365e108a7df258bf7a599ab8cbe425cfe209)
With Tinyportal installed;
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi54.tinypic.com%2Fid6dy8.jpg&hash=1d77a290fbe360fb653c934e8454b4e31ff7eb31)
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.
There may be a duplicate style name in the css for the theme and portal that are conflicting.
Hey, thanks for your reply.
Do you have any idea what I would need to look for?
Thanks.
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.
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. :(
Attach your BoardIndex.template.php and /css/index.css.
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! :)
Should have realized from your screenshot it was MessageIndex, not BoardIndex. :P