Log in in your admin of WordPress once you have loged in under plugin menu click on editor.
On top right hand dropdown menu select NextGen Gallery and click select ,on right look for nextgen-gallery/css/nggallery.css and click on it.
In editor look for .slideshow code. around line 253
You will find this code
.slideshow {
margin-left:auto;
margin-right:auto;
outline-color:-moz-use-text-color;
outline-style:none;
outline-width:medium;
text-align:center;
}
Change auto to what ever pixels you want on margin-left and margin-right and add float:left; to float to left or float:right; to float
to right.
The code should look like this
.slideshow {
margin-left:20px;
margin-right:20px;
outline-color:-moz-use-text-color;
outline-style:none;
outline-width:medium;
text-align:center;
float:left;
}
Click on Update
Now if you have slideshow in post it should have wrapped around text after a refresh.
If the text does not wrap some slideshow use this code
.ngg-slideshow {
overflow: hidden;
position: relative;
}
Change to
.ngg-slideshow {
float: left;
margin-right: 10px;
overflow: hidden;
position: relative;
}
This will float to left if you want float to right then change left to right and you will need to change margin-right to margin-left.
By using above method and change code in the plugin css you are going to have all pages display the sideshow same but if you want to display in different positions on the page or post then you will need to use a div tag on the page.
<div style= "float: right; background-color: #f0f0fa; margin-left: 10px; margin-right: 10px; ">slideshow shortcode</div>
You can change right to left and background and margins in code as you wish.
I am Author/Publisher WordPress Coach and Consultant who enjoys writing tutorials and helping wordpress users build better WordPress website/blog.
Related Posts