Fix messing style in admin panel in OpenCart 2

February 7, 2015 - By 
login

OpenCart 2 is really cool. But it still have some bugs which cause heache for us a lots. One of bugs is messing style in admin panel look like images below.

login

Login page

dashboard

Dashboard page

Don’t worry about that. In this post, I will show you how to fix this problem. Please follow the solution below:

Step 1: Edit the file admin\view\template\common\header.tpl

Step 2: Find code

and replace width

 Step 3: Recheck your admin panel

Please note that this problem will be fixed in the next version of OpenCart.

  • marcos

    Hi!

    I get this style problem in login page only if use “www.mydomain/admin”, but “mydomain/admin” works great.

    Any help?

    Thanks,
    Marcos