Background image for Magazine Pro?

Community Forums Forums Design Tips and Tricks Background image for Magazine Pro?

This topic is: resolved

This topic contains 4 replies, has 3 voices, and was last updated by  Stine G 4 months, 3 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #103614

    Stine G
    Member
    Post count: 9

    Hey :)

    Can anybody explain to me how I can add a custom background image on Magazine Pro?
    I assume it would require both a code snippet for the functions.php file and some CSS, right?

    I’m building my site offline, so unfortunately I can’t provide a link.

    Thanks in advance!

    Stine

    http://localhost
    #103617

    Stine G
    Member
    Post count: 9

    Just stumbled upon this code snippet:

    // Add support for custom background
    add_theme_support( 'custom-background' );

    I added this to the functions.php and it solved all my problems! :)

    #108497

    rdaino
    Member
    Post count: 5

    Thank you for sharing this. I just made that change on my site as I was wondering how to do this as well.

    #111902

    bheisler
    Member
    Post count: 8

    @ Stine G What are the dimensions of the image for optimal fit?

    #112105

    Stine G
    Member
    Post count: 9

    I guess it depends on your background image and whether you want it to be repeated or just shown once. I used a black image with some color in the middle with the size 1920 x 1200 with no-repeat on black background color.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.