Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 08h 58m 02s
Claim 50% off
Solved Templates

Mobile Nav Bar Broken After Helix 3 Update

Asked by conshelf 4 years ago Last activity 4 years ago

Hello,

I'm using the shaper_doctor template and when I updated Helix 3 to version 3.0.2 the header layout broke for mobile layouts.

Kind regards,
John

Accepted answer

Marked as the solution
Ariba Staff

Hello

Thank you for your query.

Kindly remove the custom css rules you have stated above and add these instead:

#sp-header > .container > .row {
    display: flex;
    align-items: center;
}
#sp-menu {
    flex: auto;
}

7 more replies

conshelf Asked this
4 years ago · edited

Hello,

The shaper_doctor template layout options for mobile are; col-1, col-2,col-3,col-4 etc, not col-sm-1, col-sm-2, etc.

I added the custom CSS below, but there's still an issue with the social icons:

@media (min-width: 768px) {
.col-2 {
    width: 16.66666667%!important;
    display: inline-flex;
}
.col-1 {
    width: 8.33333333%!important;
    display: inline-flex;
}
.col-9 {
    width: 75%!important;
    display: inline-flex;
}
}

Kind regards,
John

conshelf Asked this

Hello,

I was able to resolve my tablet issues with the following CSS, still trying to figure out mobile:

@media (min-width: 768px) {
.col-1 {
    width: 8.33333333%!important;
    display: inline-flex;
}
.col-2 {
    width: 16.66666667%!important;
    display: inline-flex;
}
.col-9 {
    width: 75%!important;
    display: inline-flex;
}
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    float: left;
}
}

Kind regards,
John

conshelf Asked this

Hello,

Resolution for mobile:

@media screen and (min-width: 320px) and (max-width: 767px) {
.col-1 {
    width: 15%!important;
    display: inline-flex;
}
.col-2 {
    width: 30%!important;
    display: inline-flex;
}
.col-9 {
    width: 55%!important;
    display: inline-flex;
}
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    float: left;
}
}

Kind regads,
John

conshelf Asked this

And back to the drawing board, not sure why, but now my desktop layout is all messed up. Seems like the layout for options selected for mobile are also the ones for desktop.

conshelf Asked this

Final CSS that worked for my layout needs:

@media (max-width: 768px) {
.col-2 {
    width: 16.66666667%!important;
    display: inline-flex;
}
.col-8 {
    width: 65%;
    display: inline-flex;
    justify-content: flex-end;
}
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    float: left;
}
}

@media screen and (min-width: 320px) and (max-width: 767px) {
.col-2 {
    width: 40%!important;
    display: inline-flex;
}
.col-8 {
    width: 15%;
    display: inline-flex;
}
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    float: left;
}
}

Either way, I think the template needs an update so the mobile layout options insert col-sm-1, col-sm-2, col-sm-3, etc. unless I'm missing something.

Kind regards,
John

conshelf Asked this

Hi Ariba,

Sorry, I missed your original post.

Your solution is much more elegant! Worked perfectly.

Thanky you,
John

Ariba Staff

Hello :)

Thank you for the kind appreciation.

You are most welcome!

Log in to reply.