Ready to get started?Download WordPress


Magazine Basic
[closed] Remove the white background-color to let appear the image background (9 posts)

  1. cseigneur
    Posted 1 year ago #

    I just can't remove the white background-color supporting my front page content, so the image background already set can be seen (the colorful one).
    More clearly see what I mean here:

    I've looked through the CSS lots of time in vain...
    So if anyone has an answer for me... Would be great!
    Thanks :.)


  2. Gilbert
    Posted 1 year ago #

    You should set the background-color for the #page element to transparent. The property is hardcoded on functions.php (line 93).
    Or you can overwrite it on your CSS file (line 1570) so:

    #page {
        -moz-box-shadow: 0 0 10px rgba(0,0,0,0.2);
        <strong>background-color: transparent !important;</strong>
  3. Gilbert
    Posted 1 year ago #

    Without "strong" tags of course :)

  4. cseigneur
    Posted 1 year ago #

    Thank you, Gilbert!
    Your solution works just fine.
    Would you know how to suppress the border-shadow?
    I've tried different thing in vain.
    Here is the last version: http://www.elton-transfert.fr/digital/ubiatoll/
    Thanks for your help!

  5. Gilbert
    Posted 1 year ago #

    Change the value for all box-shadow properties:

    #page {
    	-moz-box-shadow: none;
    	-webkit-box-shadow: none;
    	box-shadow: none;

    Or - better way - just remove those three lines and you'll also get rid of some extra bytes. :)

  6. cseigneur
    Posted 1 year ago #

    Thanks for your help, that works perfectly :.)

  7. jastray
    Posted 1 year ago #

    For some reason, editing CSS has not worked for me, but as Background default is "transparent", I have commented out line 93 in functions.

    /** Al poner comentado el background, se toma la opcíón por defecto que es transparente.

    #page{background-color:<?php echo mb_theme_options( 'page_background' ); ?>}

    I'm not quite happy because I would prefer the child theme CSS to work, because this patch will disapear next time I upgrade. :-(

  8. Andrew
    Forum Moderator
    Posted 1 year ago #

    @jastray, it would therefore be better to open a new topic on this.

  9. jastray
    Posted 12 months ago #

    Hi Andrew, maybe I explained bad myself. I kept the focus on the topic: How to have a transparent background.

    I just provided a method that worked for me although I'm not satisfied as it will require to edit functions.php each time the Theme is updated.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic