Moc / teamspeak3

A TeamSpeak 3 plugin for e107 v2.x
3 stars 1 forks source link

TS3 alignment issue #1

Closed TacTicToe66 closed 10 years ago

TacTicToe66 commented 10 years ago

Channels do not seem to align on our site. Running latest V2 build.

image

It is on our site, top right.

http://www.thekillingcrew.com

Moc commented 10 years ago

Thanks for testing this plugin!

I've just committed a possible fix. Please update the files from Github. After updating the files, please run a 'Scan plugin directories' in Admin Area > Tools > Database (e107_admin/db.php?mode=plugin_scan) and you may also need to clear your cache (e107 and browser).

Let me know if the fix works! :)

TacTicToe66 commented 10 years ago

I downloaded and updated the plugin to your latest build. Cleared the web server cache and my browser cache. I ran the scan plugin directories and everything had a green check mark.

Problem still exists.

It looks as if all channels are being given the align=middle somewhere? You can check the link at our site to see for yourself.

Is it possible the theme could be doing this?

Moc commented 10 years ago

The patch applied properly, it's just not working :)

It's definitely the theme doing this, just need to figure out how to work around it. (Try it on the bootstrap3 theme if you want to check)

Will get an update for you asap.

Moc commented 10 years ago

In the e_header.php file, can you try replacing:

.ts3_viewer
{
    text-align: left; 
}

with

.ts3_viewer
{
    margin-left: 0; 
    margin-right: auto; 
}
TacTicToe66 commented 10 years ago

image

Works! Spot on!!!

Thank you!

Moc commented 10 years ago

Great! I'll commit the changes later today :)

Feel free to submit more issues or feature requests.