Support » Plugin: EasyRotator for WordPress - Slider Plugin » [Plugin: EasyRotator for WordPress – Slider Plugin] Can't center EasyRotator in Header

  • Resolved Benedicte-88


    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 :

    				<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>

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

    here the site :

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

    Thanks a lot

    [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.]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author DWUser


    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'); ?>

    You can learn more in this article.

    Please let me know if you have any other questions.

    Drew O’Neill

    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,


    Plugin Author DWUser


    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?

    Drew O’Neill

    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.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: EasyRotator for WordPress – Slider Plugin] Can't center EasyRotator in Header’ is closed to new replies.