Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 20h 06m 58s
Claim 50% off
Awaiting an answer Templates

Wayne Corp Hero Image not Full Screen Without Adjust Margin

Asked by Tuan 5 years ago Last activity 5 years ago

Hi Team, I am using Wayne Corp template and running into an unusal issue.

The Hero section will not display as full screen if I have the row below it to have a background image.

If the row below the hero section has the background options set to "None", then the hero section displays full screen as intented.

But if there is a background image on the row below the hero section, there will be a part of that row displayed with the hero section.

The only way saw to resolve this is to add 80px top margin to the row below the hero section (which is how it cam default from the quick start install) but then it will come up as a white bar which does not look good.

But if I remove the 80px top margin to the row below the hero section, the part of the below row will display on the hero section.

The demo website was able to hide this because the row was all white below the hero section but if you change it to a image background, the issue I described will occur.

How can I force the hero section to be full screen regardless of configurations of the row below it?

NOTE: I also have a custom CSS to hide the top bar because I do not want that to display,

sp-top-bar {

display: none;
}

I'm not sure if this is related to the issue. But if so, as a side question, what other options are there to hide the top bar, is it just to remove in the layout builder?

Please advise.

12 replies

Ariba Staff

Hello

Thank you for your query.

Please add the following code in custom css section to solve hero section's full screen display issue:

.sp-page-builder .page-content #section-id-1631129533523 {
    margin-top: -192px;
}

Please do let me know if that works.

About hiding top bar: the best option will be to remove it from the layout builder - so your page does not have to load any extra elements.

Tuan Asked this
5 years ago · edited

Hi Ariba,

It made the hero section full screen (which is good) but now the elements of the hero section do not look the same and are too close to the bottom edge of the hero section.

For example, the three icons on the left, the text box on the right, and the thin horizontal line above it is too close to the bottom.

How can I move those elements up more? and force the full screen without moving the elements?

I tried to add padding and margins to the 3 icons and text box but then that caused the white row to show up again at the bottom.

Thanks

Ariba Staff

Thank you for your patience.

Please add the following code in custom css section:

.sp-page-builder .page-content #section-id-1631129533523 {
    padding-top: 30px;
    padding-bottom: 30px;
}

Please do let me know if that works.

Tuan Asked this

Hi Ariba,

The CSS moved the Text Box and 3 icons up, which is good.

But how can I move the horizontal line up as well?

And as an additional question, how can I change the color of the two horizontal lines in the hero section?

Thanks

Tuan Asked this

Also, on a mobile device, the hero section is not full screen and the three icons fall to the row below the hero section. How can I fix this?

(Note: I have removed the CSS class: hero-section from the hero row as I wanted to style the hero section myself)

Also, on a mobile, some of the "Feature Box" add-ons will switch in text color from the configured #ffffff to a gray color, how can I fix this as well?

Ariba Staff
5 years ago · edited

Please replace previous custom css rules with the following css rule for hero section's full screen display issue and mobile device issue:

.sp-page-builder .page-content #section-id-1631129533523 {
    padding-bottom: 30px;
}

for font color change:

#sppb-addon-1631129533540 .sppb-addon-title {
    rgba(255, 255, 255, 0.8);
}
.sppb-addon-title.sppb-feature-box-title {
    color: white !important;
}

for top horizontal line color change (replace with your preferred color):

#sp-header {
    border-bottom-color: rgba(166, 124, 0, .3);
}

for bottom horizontal line color change (replace with your preferred color):

.hero-feature-list-wrap::before, .hero-feature-list-wrap::after {
    background-color: rgba(166, 124, 0, .3);
}

Please do let me know if that works.

Tuan Asked this

Hello,

This code below moved the text box on the left and the 3 icons on the right back too close to the bottom of the screen and also added a unwanted gray bar under the hero section.

Basically, I would like to move the bottom horizontal line / top edge of that row up to match the original spacing of the template. As when we applied the full screen CSS, this shifted everything around.

.sp-page-builder .page-content #section-id-1631129533523 {
    padding-bottom: 30px;
}

This code below did not work to change the color of the bottom horizontal line,

.hero-feature-list-wrap::before, .hero-feature-list-wrap::after {
    background-color: rgba(166, 124, 0, .3);
}

Could you please advise? I have also shared the login details

Tuan Asked this

Additionally, this code below to change the Feature Box text color to white also changes every other location of this feature box title to white, which is unwanted,

#sppb-addon-1631129533540 .sppb-addon-title {
    rgba(255, 255, 255, 0.8);
}
.sppb-addon-title.sppb-feature-box-title {
    color: white !important;
}

The original issue only happened on mobile and the text color should not change on other pages, could you please advise?

Tuan Asked this

Hi Ariba, is there an update?

It has been a week now.

Thanks

Tuan Asked this

Hello?

It has been 2 weeks now without a response, please advise on the following as stated above,

  1. How to move the bottom horizontal line up and remove the gray bar that appears at the bottom of the hero section?

  2. For the bug of the feature box text changing colors and not staying white on mobile: The provided code above that changes the Feature Box text color to white, also changes every other location of this feature box title to white, which is unwanted. How do I keep the text white on the Feature Box text color only on that section?

Log in to reply.