- This topic has 12 replies, 2 voices, and was last updated 3 years, 4 months ago by
soundlocation.
-
AuthorPosts
-
May 31, 2020 at 4:24 pm #248494
soundlocation
ParticipantHi,
Is it possible to have the footer widget areas show on the front page only?
May 31, 2020 at 10:59 pm #248506Skandha
Participant@soundlocation: Hello there,
Yes that is possible. Please post in your site URL and let me know which widget area you are referring to.Kind Regards,
SkandhaMay 31, 2020 at 11:07 pm #248508soundlocation
ParticipantAgain, NOT posting a link or sending link via email as site is not approved to be seen by anyone yet.
I’m using Rockstar Pro (hence why I’m posting in this forum). The FOOter has space for 4 widgets. Footer area 1 – 4.
I mean, I could attach a screen dump of the admin area, outlining exactly which widgets I’m talking about, but your support system doesn’t allow attachments, unless linked through an URL. That’s a HUGE catch 22.
May 31, 2020 at 11:21 pm #248510Skandha
Participant@soundlocation: Hello there,
Go to => Appearance => Customize => Additional CSS and add the following CSS Code./* To display footer area 1 only on homepage */ body:not(.home) .footer-widget-1 { display: none; } /* To display footer area 2 only on homepage */ body:not(.home) .footer-widget-2 { display: none; } /* To display footer area 3 only on homepage */ body:not(.home) .footer-widget-3 { display: none; } /* To display footer area 4 only on homepage */ body:not(.home) .footer-widget-4 { display: none; }
Let me know if this works out!
Kind Regards,
SkandhaMay 31, 2020 at 11:29 pm #248511soundlocation
ParticipantThanks Skandha.
It kind of worked.
I’m using 3 out of the 4 footer areas and each have two widgets inside.
Your code stopped everything but the 1st widget in area nr 1, and the last widget in area nr 3.
*banging head against table*
May 31, 2020 at 11:34 pm #248512soundlocation
ParticipantOooops. Just checked again. Footer area 1 is still showing on other pages. All other footer areas are hidden on other pages.
My bad.
June 1, 2020 at 12:42 am #248530Skandha
Participant@soundlocation: Hello there,
Is the CSS Code not working for footer one? I tried the CSS Code at my end and all the footer widget are are hidden on all pages excerpt homepage.Kind Regards,
SkandhaJune 1, 2020 at 12:51 am #248533soundlocation
ParticipantNope. Are 1 is still visible everywhere. The others are only visible on the front page.
June 1, 2020 at 1:57 am #248537Skandha
Participant@soundlocation: Hello there,
Can you try using the following CSS code for footer widget area 1?body:not(.home) #first { display: none; }
Let me know if this works out!
Kind Regards,
SkandhaJune 1, 2020 at 2:03 am #248538soundlocation
ParticipantThat worked. And so did the first solution, once I found a punctuation issue in the line before it. ARGH!
Thank you!
June 1, 2020 at 2:19 am #248541Skandha
Participant@soundlocation: Hello there,I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
https://wordpress.org/support/theme/rock-star/reviews/#new-post
Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely
appreciated. Thanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know.Kind Regards,
SkandhaJune 1, 2020 at 2:41 am #248547soundlocation
ParticipantI would if I could. Clicking on that link asks me to login, but that doesn’t recognize my username or password.
🙂
The only thing giving me a headache right now is the main menu hover. It goes to this default red. As far as I know I have removed every ounce of code referring to that red and replaced it with a different color, but it’s still going for default. And yes, have emptied cache, and all the usual stuff.
😉
June 1, 2020 at 2:46 am #248549soundlocation
ParticipantFOUND IT! LOL
-
AuthorPosts
- The topic ‘Footer widget area on front-page only?’ is closed to new replies.