center logo helix ultimate2.0.0-alpha.5 - Forum | JoomShaper
Staff replied Helix Framework

center logo helix ultimate2.0.0-alpha.5

Asked by Tomasz Michałowski 5 years ago Last activity 5 years ago

http://j1.cdx.pl/
mobil version - does not center
How to do it ?

code css not work ;-( #sp-logo, .sp-column, .logo, .logo-image { text-align:center !important;}

4 replies

Paul Frankowski Senior Staff

Hi,

  1. Change column width in mobile view, now logo has "6" like icon =. It means it's not possible to center.
  2. Set column size "10" for logo - for mobile view and "2" for logo column
  3. Use this custom CSS for mobile view only
@media (max-width: 580px) {
#sp-logo {margin: 0 auto;}
}

Efekt po
foto_5703_2021.jpg

Tomasz Michałowski Asked this

and where to set the point 1,2 . I added the code but it doesn't work

Paul Frankowski Senior Staff
5 years ago · edited

Tip for beginners:

  1. You have to use/create a custom header - not predefined. Exactly as it was it previous version of Helix.
    Predefined header you can disable in "Basic" - "Header" - "Predefined Header" : Off. Then you have full control over grid settings for all views (mobile/tablet/desktop).

But remember that it's still Alpha version (!)
So maybe instead of point 0) - right now more advanced custom CSS is needed. For example:

 @media (max-width: 580px) {
 #sp-logo {
    margin: 0 auto;
    width: 80%;
    text-align: center;}
        }
Paul Frankowski Senior Staff

Tested more advanced code and worked without any extra steps.

Log in to reply.