Issue With Custom Topbar And Menu In Header - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Issue With Custom Topbar And Menu In Header

DA

Dina Abramson

SP Page Builder 2 years ago

Hi, I am making a custom topbar and for some reason I can see it in pagebuilder when editing the module, but it does not display correctly on previewing page i see the bar, but nothing inside is displayed. there are 3 columns.

Also, I would like to move my header over to the center and I have been unsuccessful. It is currently on the right

screenshot:

https://abwddemo.com/images/issues_header_topbar.png

any assistance appreciated.

0
3 Answers
Pavel
Pavel
Accepted Answer
2 years ago #118386

Hi.

...but nothing inside is displayed.

It displayed as I see.

Also, I would like to move my header over to the center and I have been unsuccessful. It is currently on the right

You can align the menu only with CSS and only inside its column.


For center use following code

#sp-menu .sp-column {
    justify-content: center !important;
}
.sp-megamenu-parent {
    margin: 0;
}
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
    padding: 0 15px !important;
}

For left use following code

#sp-menu .sp-column {
    justify-content: start !important;
}
.sp-megamenu-parent {
    margin: 0;
}
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span {
    padding: 0 15px !important;
}
0
DA
Dina Abramson
Accepted Answer
2 years ago #118392

thank you, i did finally get it working (the topvar issue)

i will try your css to see if it fixes the header

thanks

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #118461

Hi

Thanks for contacting us and thanks Pavel for helping him. You can now close this post by accepting the answer.

-Regards.

0