Jump to content
Sign in to follow this  
benpchandler

Feature Slider Alignment

Recommended Posts

benpchandler

How can I get the feature slider so it is equal width and aligned in the same fashion as the blog posts below it? Site width is total 1100px, 800 content, 300 sidebar. This is currently the code I have in the custom section per another forum post: #feature_slider div.default-features {width: 748px;} #feature-area {width: 748px} .home #feature-footer {width: 748px;} .home #feature_slider {width:748px;} .home #sidebar-wrap {margin-top:-440px;} .home #feature-area, .feature-wrap {width: 748px;} .home #feature-footer {width: 748px;} I guess the width is mostly trial and error, but with respect to centering it, and not having it off to the left... not sure how to go about that. Thanks

Share this post


Link to post
Share on other sites
benpchandler
Also, doing this to the feature slider seems to ruin the whole concept of the mobile-adaptive design... so it would be great if someone could come up with a solution that looks the same on desktop and mobile.

Share this post


Link to post
Share on other sites
gyoery
Why do you customize the width by css? Pagelines has drag and drop width configuration... Anyways: To center stuff, add margin: 0 auto; to your css.

Share this post


Link to post
Share on other sites
Rob
The code you're using was recommended to place the sidebar next to the features at a time when PlatformPro did not have the option to do so built in. PageLines Framework now allows you to place the slider inside the content area. That's your solution. Remove all the CSS you mentioned above, then using Dashboard > PageLines > Templates, remove the Features from the Page Templates area and simply drag and drop Features into the Content Area in one of the optional templates provided. Then, on your static page (if any), simply apply the template with the slider and make any adjustments in the page's PageLines Meta Settings. See this for more info: http://www.pagelines.com/wiki/How_to_Use_the_Features_Section

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×