Support » Plugin: Slideshow » Slideshow off centre in widget

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

    (@stefanboonstra)

    On line 1520 of your theme’s stylesheet, there’s a CSS rule that sets the anchor tags that wrap the images to display as an ‘inline-block’. This shifts the image to the left, as the slideshow expects all anchor tags to have an ‘inline’ display value.

    Lines 1519 through 1524 or shown below.

    #widgets a {
    	display: inline-block; /* Change this to 'display: inline;'. */
    	margin: 0;
    	padding: 0;
    	text-decoration: none;
    }

    Crikey that was fast – and effective thanks.
    Now how do I get the widget title to centre above the picture?
    Cheers
    Colin

    Plugin Author Stefan Boonstra

    (@stefanboonstra)

    The title is generated using the code defined by your theme. This means that when you change the slideshow’s title to center above the widget, you’ll change this for all widgets on your website.

    Lines 1644 through 1653 of your theme’s stylesheet style the titles of your widgets.

    .widget-title,
    .widget-title-home h3 {
    	display: block;
    	font-size: 24px;
    	font-weight: 700;
    	line-height: 23px;
    	margin: 0;
    	padding: 0 0 20px 0;
    	text-align: left; /* Change this to 'text-align: center;' */
    }

    Many thanks for the speedy response. That has done the trick – I was almost there – hadn’t scrolled down far enough!
    Cheers

    Plugin Author Stefan Boonstra

    (@stefanboonstra)

    Great! You’re welcome!

    My slideshow is off centre slightly how do I adjust this. Thanks Julie

    Plugin Author Stefan Boonstra

    (@stefanboonstra)

    The slideshow may be affected by a setting in your theme. Could I perhaps see your website?

    Unfortunately Stefan I am testing these changes out in wamp, so I haven’t uploaded them yet.

    Plugin Author Stefan Boonstra

    (@stefanboonstra)

    I’m sorry, I can’t provide much help in that case. You may however want to take a look at your theme’s ‘margin’ and ‘padding’ style values. These can make the slideshow look like it’s not centered.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Slideshow off centre in widget’ is closed to new replies.