Home Forums WP Background Takeover Background transparant

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #21041
    AvatarDirk Schrama
    Participant

    Hi,

    I’ve just bought the plug-in and found the right DOM element for our theme (smartmag.) However, it looks like the text is transparant and I can’t get it fixed.

    How should we fix this?

    See example: http://dirkschrama.staging.wpengine.com/

    Best, Dirk

    #21042
    AvatarCharlie
    Keymaster

    Hi Dirk – Welcome to the community.

    Your theme’s container has no background – it’s transparent. therefore, anything DOM element underneath will protrude through.

    While hacking a theme is not in our scope, let’s do it so we can tackle this issue:

    1) Add this CSS to your theme. What it’ll do is add a white background to the .main-wrap class element:

    .main-wrap {
    max-width: 1128px;
    background: #fff;
    margin: 0 auto;
    }

    2) Then, simply revert back to the body element as the DOM element in our plugin.

    That should do it.

    On a side note and worth noting is that in the near future, we’ll be removing our forums as we now have a helpdesk which can be reached directly at support@99robots.com – Thank you.

    #21043
    AvatarDirk Schrama
    Participant

    Hi Charlie,

    thanks a lot for the quick reply. It works nice, however it breaks the mobile layout because of the width of the pixels.

    Any suggestions?

    Thanks a lot

    #21044
    AvatarCharlie
    Keymaster

    A few minutes after I replied, I updated the css to use max-width: instead of just width: – Can you update the css with that. It’ll work thereafter.

    #21045
    AvatarDirk Schrama
    Participant

    Thanks a lot, that looks perfect!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘WP Background Takeover’ is closed to new topics and replies.
-