This topic contains 3 replies, has 2 voices, and was last updated by  Skandha 4 months, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #148807

    michelled
    Participant

    Recently my web host cancelled my account by accident. It was reinstated a few hours later but in the process they broke my site: the menu was rearranged, my widgets disappeared, a random post was changed (maybe more, I haven’t checked them all), and the pale grey border that surrounds the main text reappeared.

    My site is a child theme of Catch Box. According to what I can see, the child theme is active. Yet I have managed to fix everything except get rid of the border. I have gone through all my child theme’s modifications, but cannot for the life of me figure this out.

    Can you please tell me where in the theme files the grey border is located so that I can fix this.

    For reference, my site is http://www.mademers.com.

    Any help is much appreciated.

    #148809

    Skandha
    Participant

    @michelled: Go to => Appearance => Customize => Additional CSS and the following CSS Code.
    /* To remove the border */

    article {
    	border:none !important;
    	box-shadow:none !important;
    }

    /* To remove the remaining horizontal line */

    hr {
    	display:none;
    }

    Let me know if this works out.
    Kind Regards,
    Skandha

    #148934

    michelled
    Participant

    Yes, thank you, this worked. Though it begs the next question: if customization can easily be done this way, is there a point to building a child theme? Is it better, with regards to updates and such, to customize only within the main site itself rather than build a child theme?

    #149016

    Skandha
    Participant

    @michelled: If you make changes to core theme files without creating a child theme all your changes will get lost when you update the theme. So creating a child theme will keep your customizations all safe. All kinds of customizations cannot be done using CSS and will require change in core theme files. Therefore using a child theme is a good choice.

    Let me know if you have anymore issues.
    Kind Regards,
    Skandha

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.