Viewing 7 replies - 1 through 7 (of 7 total)
  • For help with CSS, a live site link is required…if we cannot see the site, we cannot see the stylesheet(s), so we cannot suggest changes.

    To discover what CSS is output by your theme, use a web inspection tool such as Firebug: http://getfirebug.com/ , Chrome Inspect Element: https://developers.google.com/chrome-developer-tools/ or Internet Explorer 9+ F12 Dev. Tools: http://msdn.microsoft.com/en-us/library/dd565627(v=vs.85).aspx#csstool

    There are others.

    When editing CSS, use a Child Theme
    http://codex.wordpress.org/Child_Themes
    Custom CSS Plugin, or Theme provided custom CSS option.
    Edits to parent themes are lost on theme update.

    Learn CSS: http://www.w3schools.com/css/

    Thread Starter stevenjwilliams83

    (@stevenjwilliams83)

    I guess I am talking about creating content on a already created page using HTML and CSS….so I have a page called about me, I say edit, it gives me an open text box, now I want to apply my html and css inside this open text box.

    You can add page-specific CSS to the site by using the page-specific id or class which is usually generated in the body tag (most themes).

    Example – generated HTML for the body tag (use view source in a browser to see it:

    <body class="home page page-id-40 page-parent page-template-default>

    CSS:

    body.page-id-40 other selectors here as needed {
       styles here;
    }

    You should be using a Child Theme or custom CSS option or plugin to add CSS, however, so that your changes are not lost when the theme is updated.

    The CSS would go in the style.css file of the child theme or in the custom CSS section.

    HTML can be added via the dashboard content area, yes.

    Thread Starter stevenjwilliams83

    (@stevenjwilliams83)

    This is so frustrating because I am not seeing anywhere in the dashboard area that I can add my css. When I create a page, is page’s css controlled by the main theme’s css? I download a plugin called Custom CSS for Posts and Pages (CCSS), but now I can’t figure out how to get a new .css file into the system. I am running a bitnami virtual appliance and using filezilla to gain access to the file system. I do not know the navigation of the file structure.

    I’m not familiar with that particular plugin, but most would add a screen for adding CSS – so you simply write the CSS you want to add there. It’s not adding a separate file in the sense of creating and uploading one via FTP.

    Also, just looked up that plugin – I see it’s supposed to make a file – but the plugin looks a bit outdated (and not currently supported by the developer) – so that may be the issue.

    I know this one works quite well:

    http://wordpress.org/plugins/custom-css-manager-plugin/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Adding css for your page’ is closed to new replies.