[Support request] How to add a border for each container?

Home Forums Support [Support request] How to add a border for each container?

Home Forums Support How to add a border for each container?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1678720
    Dipak Singh

    Hey, I am really loving GP and it’s amazing.
    I am using a code

    .inside-article {
    border: 1px solid #ccc;
    }

    .inside-right-sidebar {
    border: 1px solid #ccc;
    }

    .site-footer .footer-widgets {
    border: 1px solid #ccc;
    }

    to make borders but recently I am seeing it’s not working in the comment box and each sidebar widget.
    It is working as a single container border in the sidebar widget.
    please suggest making a border for each sidebar widget separate.

    #1679021
    Elvin
    Staff
    Customer Support

    Hi there,

    Can you link us to the page you’re working on?

    Also, can you specify which containers you would like to the border on? So we could use the proper selectors and avoid other containers from being styled.

    You can use the private information text field to provide the site links/details.

    A wise man once said:
    "Have you cleared your cache?"

    #1679734
    Dipak Singh

    Hey Elvin, I am sending my website link, please see the right sidebar where are two widgets with a border. But they are in a single border container and I want a separate border container for each widget.
    And in this way, this is not looking good.

    #1679754
    Elvin
    Staff
    Customer Support

    Hi there,

    To make the border apply to individual sidebar widgets, you should change this CSS you have on your site:

    .inside-right-sidebar {
        border-width: 1px;
        border-style: solid;
        border-color: rgb(204, 204, 204);
        border-image: initial;
    }

    To this:

    .inside-right-sidebar .widget {
        border-width: 1px;
        border-style: solid;
        border-color: rgb(204, 204, 204);
        border-image: initial;
    }

    A wise man once said:
    "Have you cleared your cache?"

    #1679803
    Dipak Singh

    Hey thanks for it, it’s working.

    .inside-right-sidebar .widget {
    border: 1px solid #ccc;
    }

    like this

    #1679858
    Elvin
    Staff
    Customer Support

    You can completely change or add any css property you prefer as long as the selectors are intact, the syntaxes are correct and the values are valid.

    No problem. 🙂

    A wise man once said:
    "Have you cleared your cache?"

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