Download & Extend

Centering the slideshow window

Project:BlueMasters
Version:7.x-1.2
Component:Code
Category:support request
Priority:normal
Assigned:gtsopour
Status:closed (fixed)
Issue tags:bluemasters, Bluemasters theme

Issue Summary

I have changed the size of the slideshow window to 600x400px, which works great with the images I am using. The only problem is that the window is positioned to the left, and I would like to have it center. I have tried changing various things in .window on the css, but nothing is working for me.

Can you help please?

Comments

#1

Assigned to:Anonymous» gtsopour
Status:active» fixed

Hello Frog

Ι just tried to reproduce what you mention. Just make the following changes to the style.css file

1. Line 414 - Remove float
From

.main_view { float: left; position: relative; }

To
.main_view { position: relative; }

2. Line 416 - Add auto margin
From

.window { overflow: hidden; position: relative; width:600px; height:400px; border:10px solid #ffffff; }

To
.window { overflow: hidden; position: relative; width:600px; height:400px; border:10px solid #ffffff; margin:auto;}

Let me know if it not worked for you, in order to help you directly.

Thanks
/George

#2

Excellent! Thank you George, that did it :-)

#3

You are welcome!

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.