WordPress.org

Ready to get started?Download WordPress

Forums

EasyRotator for WordPress - Slider Plugin
[resolved] Can't center EasyRotator in Header (5 posts)

  1. Benedicte-88
    Member
    Posted 1 year ago #

    Hi there,

    I am brand new to WP and I find myself struggling with coding.
    I just changed back my theme to the original Twenty Eleven one (was using Elegant photography before) and I can't center the EasyRotator in my header.
    I pasted the code in my header.php as below :

    <hgroup>
    				<h1 id="site-title"><span><a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1>
    
    				<?php easyrotator_display_rotator('erc_32_1349376799'); ?>
    
    <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
    			</hgroup>

    I do want it between my site-title and my site-description.

    here the site : http://welchfishmongers.co.uk/

    Can somebody help me and tell me how to center it ?
    Do I need to do anything to the style.css ?

    Thanks a lot
    Bene

    http://wordpress.org/extend/plugins/easyrotator-for-wordpress/

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum's parser.]

  2. DWUser.com
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Bene,

    Thanks for using EasyRotator. To center the rotator, wrap its code like this:

    <div align="center">
        <?php easyrotator_display_rotator('erc_32_1349376799'); ?>
    </div>

    You can learn more in this article.

    Please let me know if you have any other questions.

    Sincerely,
    Drew O'Neill

  3. Benedicte-88
    Member
    Posted 1 year ago #

    Thanks a lot Drew ! It worked perfectly.

    And, as a matter of fact, I happen to have another question, but it has nothing to do with the EasyRotator :)

    Again, this is meant to be very simple but I can't change the colour of my page only.
    I want to keep the colour i have now as my main background (#e7e4e4), but I'd like to have every single element of my page on a white background.

    I have tried this in my style.css:

    /* =Global
    ----------------------------------------------- */

    body, input, textarea {
    color: #373737;
    font: 15px "Droid Sans", sans-serif;
    font-weight: 300;
    line-height: 1.625;
    }
    body {
    background: #FFFFFF;
    }
    #page {
    background: #FFFFFF;
    color: #FFFFFF;
    }

    But it doesn't change anything.

    Could you give me a hand on this one too please ?
    Thanks a lot.

    Best regards,

    Bene

  4. DWUser.com
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Bene,

    I just looked at your page and the main content area appears to currently have a white background. Can you please confirm if you resolved this issue?

    Sincerely,
    Drew O'Neill

  5. Benedicte-88
    Member
    Posted 1 year ago #

    Hi Drew,

    Thanks for replying.
    I acually didn't 'resolve' the problem as such. I just created a background in Photoshop and imported it... That'll do in the meantime until I figure out how to create a proper white background for my pages.

    Thanks a lot again.

    Benedicet

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic