Hide footer top bar (map) on all pages but 2

Hi rockstars!

I’m dealing with massive double content.

Could you please give me the code to hide the global footer top bar Google Map on all pages but http://dev.svartklubben.com/en/contact/ and http://dev.svartklubben.com/kontakt?

It would be so much better than having double footers just for this.

Thanx!

<3 Lobsterass

Hello @Lobsterass,

Thanks for posting in!

Normally, you can duplicate your footer and then in the duplicated footer, you will have to remove the bar with the map element in it. You can then assign this footer to the contact page.

If you are not up to creating a duplicate footer, you can also use this custom css as an alternative:

.page-id-2898 .x-colophon .x-bar:nth-child(1),
.page-id-505 .x-colophon .x-bar:nth-child(1){
    display: none;
}

We would love to know if this has worked for you. Thank you.

1 Like

Thank you!

I’m a knucklehead though. I just realized I could just make the footer map a preset and paste it into the contact pages content instead. Nice Pro feature!

But I’ll save the code. I might need it somewhere else.

Thanx @RueNel!

<3

Hi again!

There is some weird responsive and WPML issue going on with the h6 headlines of this footer. There’s 3 different contents with different breakpoints. Without changing settings, the EN version (translated w WPML) have different size and bottom margin. This is driving me nuts, so I got tired and tried to override the h6 settings in the footer with this:

.x-text h6{
font-size: 14px !important;
margin-bottom: 20px!important;
}

It does work at some breakpoints and in one language but not the other and it keeps on changing around. Seems like a bug. Please help me make ALL h6 headlines in both SV and En version look the same.

Hello @Lobsterass,

Thanks for the updates.

The h6 is displayed and nested with a p tag which should NOT be the case.

Please use the HTML view when inserting headline texts to avoid the unnecessary <p> tags.

Hope this helps.

Hi @RueNel!

THANK YOU! It was still weird stuff going on with the translated version so I fixed the SV version as you said and translated it all over again to EN. Works now. Finally!

You’re the best. Happy Friday!

<3

You are most welcome @Lobsterass!
It’s good to know that it has worked for you.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.