- This topic has 9 replies, 3 voices, and was last updated 4 months, 3 weeks ago by
Tom.
-
AuthorPosts
-
October 7, 2020 at 5:05 pm #1477573
Sapir
1. How do I remove every link from category, author and on.. That users cant get to the theme default pages?
2. How do I remove the comment section in posts? From future posts and from past posts.
3. Navigation 2 degree pages (Those who opens from the main navigation). When you have a 2 degree page as this, there is a gap created in the navigation bar between the fasther navigation ling and the close one to it. how do I disable it?
4. How am I getting google not to scan and index the default author, archive, category (and on…) pages?October 7, 2020 at 5:20 pm #1477589Elvin
StaffCustomer SupportHi,
1.) You can make them not display by disabling them on the customizer settings. https://docs.generatepress.com/article/blog-content-layout/#single
2.) Check this – https://docs.generatepress.com/article/removing-comments/
3.) I’m not sure I understand what you mean. Can you link us to the site in question? Screenshots and screen capture are highly appreciated too. Thank you.
4.) You’ll need a plugin that manages that. Perhaps these articles can help you.
https://www.novomotus.com/unwanted-pages-indexed-google/
https://www.shoutmeloud.com/how-to-deindex-wordpress-tags-categories-attachment-google.htmlA wise man once said:
"Have you cleared your cache?"October 8, 2020 at 3:19 am #1478133Sapir
1. I want to disable those pages permanently. I don’t want them to exist. possible? The reason is that even if I NoIndex them somehow, those pages can still be revealed using a “search” in the website.
2. Solved – Thanks.
3. Never mind. If i’ll need help with that ill post again.
4. Solved – Thanks.Another question:
How do I set content margin (Margin I think it is :)) on post pages.
I played with the padding a bit, and gave shadow look to the content box, but the paragraphes are very cloes to the border. how can I make some space between them? At customizer I can see only padding option.October 8, 2020 at 9:41 am #1478867Tom
Lead DeveloperLead DeveloperHi there,
You can disable author archives with a simple plugin:https://wordpress.org/plugins/disable-author-archives/
Are you wanting to disable category archives as well? Not sure I’ve seen a solution for that before.
Any chance you can link us to the site so we can see the padding issue?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 8, 2020 at 11:10 am #1479018Sapir
Hey Tom,
Yeah, I meant disable everything that is theme stocked.
I left a link to an example of the post I wanted you to see.
See how the text is so close to the borders. I want to set it up to be pretty and tidy.October 8, 2020 at 4:10 pm #1479359Elvin
StaffCustomer SupportCurrently, your site seems to have
padding: 0 0 30px 0;
.You can adjust the padding of the container through Dashboard > Appearance > Customize > Layout > container and set the container padding to your preference.
As for completely disabling the category pages.
You can try this.
https://hoststud.com/resources/how-to-hide-or-disable-archives-in-wordpress.241/#:~:text=Just%20like%20that%20if%20you,single%20archive%20for%20your%20site.
https://www.webhostinghero.com/how-to-hide-or-disable-archives-in-wordpress/Or this:
https://mekshq.com/remove-archives-wordpress-improve-seo/Let us know how it goes.
A wise man once said:
"Have you cleared your cache?"October 8, 2020 at 5:15 pm #1479395Sapir
Hey,
The options you have offered contain PHP changes. I’m not using a child theme, so i’ll pass it\use a plugin.
For the padding\Margin thing.
I’m not talking about padding, but about Margin.
Padding just set the gap between the content outer border and the sidebars outer border.
I want to set the gap between the inner border of the content to the content itself (Paragraphes, pictures, containers and on..) – The stuff inside the content area the content borders. If you will check the link again, you will see how close the inner content is to the border.I need a CSS code specific to the posts. I want to change the inner content margin of only the posts.
And where is the option to change it from the theme options? I think There is no option asa this, unless you create a container with blocks and set margin there.
October 8, 2020 at 5:48 pm #1479419Elvin
StaffCustomer SupportThe options you have offered contain PHP changes. I’m not using a child theme, so i’ll pass it\use a plugin.
Here’s how to add PHP snippets – https://docs.generatepress.com/article/adding-php/
I want to set the gap between the inner border of the content to the content itself (Paragraphes, pictures, containers and on..) – The stuff inside the content area the content borders. If you will check the link again, you will see how close the inner content is to the border.
This is the exact reason why you must use content padding instead of margin. Margin adds space outside of the container. Meaning if you added the margin to the content container, it’ll add the space between the content container and the sidebar container.
Content padding adds spacing within the content container so the contents(paragraphs, photos, etc) will have a space between them and the content container border.
Hence, the suggestion of using container padding through the customizer.
I need a CSS code specific to the posts. I want to change the inner content margin of only the posts.
If you really must use margin, you can try this.
body.single .inside-article{ margin: 20px; }
Just change the 20px to any value you prefer.
Something to consider: you can try the padding approach as explained above.
body.single .inside-article{ padding: 30px; }
Replace the margin approach with this code to test between margin vs. padding.
Note: Adding this is basically the same as setting the Content Padding on customizer.
A wise man once said:
"Have you cleared your cache?"October 9, 2020 at 1:40 am #1479813Sapir
You right.
But somehow the content padding works as a margin, it’s confusing.
Check out the screenshots.Content Padding 90 (red is what I want to do)
Tell me if something bugged please. And how do I set the content padding for real?
*Another question: How can I give my posts a background image?
October 9, 2020 at 10:56 am #1480897Tom
Lead DeveloperLead DeveloperHi there,
Have you tried using the “Separate Containers” option?: https://docs.generatepress.com/article/content-layout/
It looks like you’re using “One Container”.
Separate Containers will keep the padding inside the white box, and then you can adjust the space between containers with the Separating space option: https://docs.generatepress.com/article/separating-space/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.