Center Logo Helix Ultimate2.0.0-alpha.5 - Question | JoomShaper

Center Logo Helix Ultimate2.0.0-alpha.5

T

Tomasz Michałowski

Helix Framework 3 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;}

0
4 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #6553

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

0
T
Tomasz Michałowski
Accepted Answer
3 years ago #6571

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #6586

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;}
        }
0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #6590

Tested more advanced code and worked without any extra steps.

0