WordPress.org

Support

Support » Themes and Templates » Magazine Basic » Remove the white background-color to let appear the image background

Remove the white background-color to let appear the image background

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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>
    }

    Without “strong” tags of course ๐Ÿ™‚

    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!

    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. ๐Ÿ™‚

    Thanks for your help, that works perfectly :.)

    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. ๐Ÿ™

    @jastray, it would therefore be better to open a new topic on this.
    http://wordpress.org/support/theme/magazine-basic#postform

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Remove the white background-color to let appear the image background’ is closed to new replies.
Skip to toolbar