WordPress.org

Ready to get started?Download WordPress

Forums

GamePress
[resolved] dark.css (12 posts)

  1. philh4
    Member
    Posted 1 year ago #

    How can I edit dark.css? I want to adjust div.entry-content and it says its in dark.css. Thank you.

  2. W.P. Ginfo
    Member
    Posted 1 year ago #

    To make these kind of changes to your site requires you to make changes to your CSS and / or html and php.
    Before you do anything else...

    Make a backup of your site!!

    1. Use FTP to backup the files.
    2. Make sure to also backup your database.
    3. http://codex.wordpress.org/Backing_Up_Your_Database

      Next: Create a childtheme

    4. Don't make any changes to a theme itself. Instead make the changes to a childtheme. Should the author of your original theme update the theme, your changes will not be overwritten. Your site with your adaptations will remain intact.
      Suggestion: use the 'one click childtheme plugin'.
    5. Installed the childtheme? Now activate it.
      Check if things look 'normal'.
    6. Use FTP to access the files of your site and it's childtheme.
    7. Use NOTEPAD++ or proper EDITOR [not wordprosessor] to edit css and php.
    8. Make the changes in the CHILDtheme!
      - copy php files / css-file(s) of the original theme [as required] to the childtheme directory and edit them as required.
    9. http://codex.wordpress.org/Getting_Started_with_WordPress
      http://codex.wordpress.org/CSS
      http://codex.wordpress.org/Finding_Your_CSS_Styles
      http://codex.wordpress.org/FAQ_Troubleshooting
      http://codex.wordpress.org/Backing_Up_Your_Database

  3. philh4
    Member
    Posted 1 year ago #

    I know but the problem is there is not a file in the theme titled dark.css

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Yes, there is - it's here:

    http://bonesnapper.com/site/wp-content/themes/gamepress/css/dark.css?ver=3.5.1

    BUT, as suggested above, do not make changes to that file - you can put changes in a Child Theme or custom CSS section to override those styles you want to change.

    A browser tool like Firebug will show you the CSS code you need to put in the custom CSS to make the changes.

  5. philh4
    Member
    Posted 1 year ago #

    But it is not listed in the editor on my dashboard. Any suggestions?

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Try using a browser tool such as Firebug or Chrome developer tools to find the CSS code (from that file) that you want to change - copy that CSS to the custom CSS and change it there.

  7. philh4
    Member
    Posted 1 year ago #

    I have done that with chrome and what I'm trying to tell you is that there is a stylesheet.css but there is not a dark.css.

  8. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    I know what you mean - see the link above - that's where the file is located (inside a folder called css).

  9. philh4
    Member
    Posted 1 year ago #

    Thanks for the help. I love the theme but if I can't edit dark.css then I'll have to find a new theme to use

  10. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    http://codex.wordpress.org/Editing_Files

    files in sub-folders are (usually) not editable from the apperance - editor;

    @W.P. Ginfo has already suggested the general way of doing it.

    possibly use a custom css plugin (for instance the custom css part of 'jetpack') to add the new styles to overwrite whatever you want to change in dark.css

  11. philh4
    Member
    Posted 1 year ago #

    Thanks guys. Used a custom css plugin and my issue is solved

  12. alex27
    Member
    Theme Author

    Posted 1 year ago #

    Using My Custom CSS plugin or something similar is preferable, because you don't need to worry anymore which file you need to edit.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.