Need help? Check out our Support site, then


Deleting parts of a theme's HTML or CSS

  1. Hi,

    I'm helping a friend build her page, and last time I did this for mine there was a way to go in and edit the theme's CSS or HTML. Now it's just offering me this cascading, add-on system. I want to go in and remove parts like the archive, meta and comments section - normally this should be done via widgets, but it defaults to displaying them and I want to remove them entirely so the content takes up more of the front. How can I get access to the CSS and HTML for this theme in its entirety so I can make edits and changes? Please let me know . I don't know how to remove parts using this add-on system. Thanks.

    The blog I need help with is equiathletic.com.

  2. Many themes have a default set of widgets that show. To get rid of the default set, add in the widgets you wish to be in the sidebar and the default set will go away. If you want the sidebar blank, add a empty text widget. If you want to delete the sidebar entirely and recover that space for content, that takes CSS (and the Custom Design upgrade). Since CSS is theme specific, and since your site is set to private, we cannot look at it to determine the code needed. We at the very least need to know which theme is being used.

    We cannot edit the PHP script files here at WordPress.com, and CSS works differently here. You can't remove things from the CSS, you have to create new rules to override things in the CSS and then your changes override the like things in the original CSS.

  3. Often, if you have a private blog but mention which theme you are using, someone can help by looking at the demo site.

    The theme for http://equiathletic.com/ is currently set to Hero.

    To hide the right sidebar completely and stretch the left content area to fit, try adding this to your Appearance → Themes → Customize → CSS panel:

    #secondary {
    	display: none;
    }
    
    #content {
    	width: 930px;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic