WordPress.org

Ready to get started?Download WordPress

Forums

Alexandria
[resolved] CSS file logic (10 posts)

  1. miketurco
    Member
    Posted 1 year ago #

    Hope I'm not driving you crazy, I know I've been asking a lot of questions.

    Re. css files, there is lite.css in the main folder and alexandria.css in the skins folder. I've noticed that at least some of the styles are duplicated.

    For example, I want to rem out this: .bge4e6e9 .

    I rem it out of the lite.css file and it doesn't affect the theme. Then I rem it out in alexandria.css and the change takes effect.

    So, I'm a little confused as to which styles are where and whether I need to edit multiple files to make changes.

    Are most/all of the styles for alexandria in the alexandria.css file? Also, do I need to be concerned about changing styles in two places for when the theme is resized (based on page width)?

    Thanks,

    Mike

  2. tskk
    Member
    Theme Author

    Posted 1 year ago #

    alexandria.css is the file you should edit, lite.css will be for child theme support.

  3. tskk
    Member
    Theme Author

    Posted 1 year ago #

    Create a child theme using the sample child theme available in the theme folder, look for "ChildTheme" folder.
    Make all the changes you like to lite.css in this child theme
    Upload child theme to wp-content/themes and activate it.

  4. ggil
    Member
    Posted 1 year ago #

    Where is the skins folder? Thanks!

  5. miketurco
    Member
    Posted 1 year ago #

    It is a subfolder in the alexandria theme folder. If you use an ftp program its pretty easy to find. I use firefox for ftp.

    yoursite.com/wp-content/themes/alexandria/skins

    Mike

  6. ggil
    Member
    Posted 1 year ago #

    Ok, thanks. Now I can't find the childtheme, whehre's it?

  7. miketurco
    Member
    Posted 1 year ago #

    When you modify a theme to change the way it looks and acts, you have to modify the code. What happens, though, is that after you've done that, the developer might update the theme itself.

    If/when you install updated theme, the changes you made will be overwritten.

    To avoid that problem, when modifying a theme, it is best to create a "child theme". Here are the instructions:

    http://codex.wordpress.org/Child_Themes

    Mike

  8. tskk
    Member
    Theme Author

    Posted 1 year ago #

    @ggil

    childtheme folder is also in the alexandria folder itself just like skins.

  9. naplpm
    Member
    Posted 1 year ago #

    Hi tskk,

    I'm using your theme for a really simple page, where the background image is almost the most important element, since is basically the home page. I would like to do this image responsive, but I couldn't find where in the CSS I can change the body.backgroud-image properties, actually I would like to set the background-size to 100%.

    Here the site: http://banhmigos.com/

    Thank you very much.

    Best.

  10. esmi
    Forum Moderator
    Posted 1 year ago #

    @naplpm: As per the Forum Welcome, please post your own topic. This topic has been resolved.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic