WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Align center on main widget area

[Resolved] Align center on main widget area

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Stefan Boonstra
    Member

    @stefanboonstra

    Hi David,

    I see you’re using ‘.slideshow_container_0 {align: center; }‘ in your custom stylesheet. This CSS rule centers text, not elements like the slideshow.

    To center the slideshow change the line to this: ‘.slideshow_container_0 { margin: 0 auto; }

    Best regards,
    Stefan

    Plugin Author Stefan Boonstra
    Member

    @stefanboonstra

    I’m sorry. This is the rule you’re using:

    .slideshow_container {align: center; }

    You should change it to this:

    .slideshow_container { margin: 0 auto; }

    I accidentally appended the ‘_0’.

    arctic_cat
    Member

    @arctic_cat

    Thanx Stefan, i’m impressed by your sense of immediate service!

    Got any solutions how to get the slideshow flush with the menu bar swell?

    /David

    arctic_cat
    Member

    @arctic_cat

    Stefan, I’m slightly dumbstruck here. In what template do I find the slideshow_container?

    arctic_cat
    Member

    @arctic_cat

    Oops, sorry. Forgot to engage brain 🙂

    Plugin Author Stefan Boonstra
    Member

    @stefanboonstra

    You’re welcome!

    What exactly do you mean by getting the slideshow flush with the menu bar?

    arctic_cat
    Member

    @arctic_cat

    There’s a space between the slideshow and the menu bar. I would like to eliminate that.

    Fixed the align issue with your directions. Thank you again.

    Plugin Author Stefan Boonstra
    Member

    @stefanboonstra

    You’ll have to add a ‘margin-top’ rule. In combination with the margin rule that’s already there, it would look like this:

    .slideshow_container { margin: -13px auto 0 auto; }

    I believe 13 should be the right amount of pixels to move the slideshow up.

    arctic_cat
    Member

    @arctic_cat

    Sweet!!!

    Over and out for this time Stefan. You’re a star

    arctic_cat
    Member

    @arctic_cat

    Hi again…

    when I tried
    .slideshow_container { margin: -13px auto 0 auto; }
    I get a “ghost line” under the slideshow. It looks like ca 5px of the top of another slide is showing at the bottom. Weird?

    Plugin Author Stefan Boonstra
    Member

    @stefanboonstra

    That could be possible indeed, the inactive slides are stored below the slideshow.

    You should probably remove the latest adjustment and put the ‘margin-top: -13px;’ rule on an element containing the slideshow, in your theme. This way it should be pulled up correctly.

    arctic_cat
    Member

    @arctic_cat

    Ok, I try that. Thanx.

    KarolinaRysava
    Member

    @karolinarysava

    Hi Stefan.
    I am using your great slideshow on Theme Pinboard, but cannot center the slideshow in sidebar-top.

    The link is http://www.expatsgames.com. And the slideshow I`ve mentioned is with name Partners (the slideshow of logos).

    Thank you for advice.

    Karolina

    Plugin Author Stefan Boonstra
    Member

    @stefanboonstra

    The slideshow in the header of your website appears to be centered. The slideshow in the footer of your website can only be centered by adjusting the theme, as it’s in a four column widget area.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Resolved] Align center on main widget area’ is closed to new replies.