[Resolved] Few questions

Home Forums Support [Resolved] Few questions

Home Forums Support Few questions

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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?

    #1477589
    Elvin
    Staff
    Customer Support

    Hi,

    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.html

    #1478133
    Sapir

    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.

    #1478867
    Tom
    Lead Developer
    Lead Developer

    Hi 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?

    #1479018
    Sapir

    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.

    #1479359
    Elvin
    Staff
    Customer Support

    Currently, 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.

    #1479395
    Sapir

    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.

    #1479419
    Elvin
    Staff
    Customer Support

    The 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.

    #1479813
    Sapir

    You right.
    But somehow the content padding works as a margin, it’s confusing.
    Check out the screenshots.

    Content padding 20

    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?

    #1480897
    Tom
    Lead Developer
    Lead Developer

    Hi 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/

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.