-
gpetar
Hello, I have a few questions regarding the footer. Data is in private section
1. How to make links in the footer open in a new window?
2. How to show this footer ONLY on the index page?
3. How to remove this section here marked with a red arrow (copyright) -
Alvind
Hi there,
1. The links in the footer appear to be menu items. Go to Appearance > Menus, then open Screen Options and enable the Link Target checkbox. After that, edit each menu item and check the Open link in a new tab option.
See this screenshot for reference: https://cln.sh/1C6tCPwxPdv5RgvCYtk6
2. Go to Appearance > Elements and create a new Layout Element. Under the Disable Elements tab, check the Footer option. Then, under Display Rules, set the Location to Front Page.
3. Go to GeneratePress > Settings and make sure the Copyright module is enabled. Then go to Customize > Layout > Footer and clear the text in the Copyright field.
-
gpetar
OK, starting to figure out but , while following these instructions, I am getting footer links on all pages, and it is disabled on the index. I need it to show only on the index.
Also, copyright is still there even if I’ve deleted content
-
When you say index, do you mean the blog and all archives?
If so, try this CSS:
.site-footer ul#menu-footer{ display: none; } body:is(.archive,.blog) .site-footer ul#menu-footer { display: flex; } -
gpetar
I mean only the front page. I need links in the footer to show only on the front page.
Also, when adding a layout element, there is no option for the “disable elements tab”.
https://i.postimg.cc/9fmNKScW/1.pngNow, when I’ve added CSS above, it seems almost fine, except for the copyright section that is still there.
-
Alvind
Now, when I’ve added CSS above, it seems almost fine, except for the copyright section that is still there.
Can you try entering some text in the Copyright field, then remove it and save the changes?
-
gpetar
yeah, that worked on index page. There is still BUILT WITH GENERATEPRESS on other pages. How to remove that?
-
Alvind
Try this CSS:
.site-footer .copyright-bar { display: none; } -
gpetar
very good, working thanks.
-
Alvind
Glad to hear that!
-
gpetar
Hi, sorry, but I have the same question again for another website using the same configuration. I won’t open a new thread will just repeat the question (and put the URL in the private section):
How to show the current footer menu only on the main (index) page (root)?thanks
-
George
I am sorry for the hassle here but you would indeed need to open a new thread and provide your own URL so we can track the ticket better. Hope you understand.
-
gpetar
ok
-
George
Thank you so much!
- You must be logged in to reply to this topic.