slscart logo

How to center the logo image

The default alignment for the site logo is left-justified. This is for the desktop and mobile logo, set under Web Site > Images > Catalog Images. The images are displayed by using the tic (template insert code) %SITE_LOGO%.

The logos are centered using css in the <head> section of the template.

To center the mobile logo image, add this:

 .mobile_logo { margin:0 auto; display: block; text-align: center }

To center the desktop logo image, add this:

 .logo_img { margin:0 auto; display: block; text-align: center }

***