• Resolved 65Erik65

    (@65erik65)


    [ Moderator note: moved to Fixing WordPress. ]

    Some CSS-files for the themes I’ve tried have more than 1 CSS-files, usually in subfolders.

    When I’m in the editor inside WordPress adminpanel I cant seem to find them, why is this?
    I know I can edit them using FTP but why cant I browse folders inside the editor?

    Lets take this theme for example:
    https://wp-themes.com/bootstrap-four/

    bootstrap.css contains this: “background-color”, but that doesn’t change the background color that’s under the text. Can anyone please point me in the right direction how I also can change that background? I cant find it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @65erik65
    You might be just changing the body background color.

    body {
        margin: 0;
        font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
        font-size: 1rem;
        line-height: 1.5;
        color: #373a3c;
        background-color: #ffffff;   /*this one*/
    }

    To change the background color under the texts/contents you have to change the background color property of the container class as well:

    .main-container {
        border-radius: .25rem;
        background: #ffffff;   /*this one*/
        padding-top: 1rem;
        margin-bottom: 2rem;
    }

    Hope this helps ??

    Thread Starter 65Erik65

    (@65erik65)

    Oh! It was called just “white” and not “#ffffff” in the theme I did download for some reason and I was only looking for “#fff”. I feel pretty stupid now but thank you so much for the help, wouldn’t have found it without you. ??

    @65erik65 glad i could help ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cant change background color in this theme, help please.’ is closed to new replies.