Site logo

[Support request] Background image over background color

Home Forums Support [Support request] Background image over background color

Home Forums Support Background image over background color

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2464114
    Andre

    Hi,

    At the request of my client, I put in all containers a background image with the WordPress customization for Generatepress.

    .separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .one-container .container, .separate-containers .paging-navigation {
    background-image: url(“https://xxxxxxxxxxx.ch/wp-content/uploads/cropped-topback-1.jpg”);
    }

    The problem is the following.
    The archives and pagination work with the CSS “border”, but the background color is placed behind the background image of the main container (site-main). Normal CSS behavior

    How can I give a color when there is only one div with the same class?
    .inside-article {
    background-color: #ff0000 !important;
    }

    Best regards, andre

    #2464122
    David
    Staff
    Customer Support

    Hi there,

    is it possible to see the site where you’re having the issue, as i am having a little trouble understanding the request.

    #2464130
    Andre

    Sorry, I find this solution 🙂

    /* archives posts */
    /* remove background img and place color */
    article.type-post .inside-article {
    background-image: url(‘none’);
    background-color: #ffff00;
    border: 2px solid #00ff00;
    margin: 10px;
    }

    #2464133
    David
    Staff
    Customer Support

    Glad to hear you found the solution 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.