Jump to content
Sign in to follow this  
clneon

Resizing feature slider

Recommended Posts

clneon

After searching the forum for an answer on how to resizing and centering a feature slider. I used firebug and came up with this CSS code as a solution. Background on what I was trying to do: wanted the slider to be 510px x 510px and centered on the page, and was using the features template. This is the code that I seemed to work: .page-id-19 #feature_slider { margin-left: 225px; width: 510px; } .page-id-19 #feature-area, .feature-wrap, #feature_slider .fmedia, #feature_slider .fcontent, #feature_slider .text-bottom .fmedia .dcol-pad, #feature_slider .text-bottom .feature-pad, #feature_slider .text-none .fmedia .dcol-pad { height: 510px; width: 510px; } The question I have is this the best way of coding to change the slider size and center it on a single page? Is there a reason that you only have the ability to change the global height but not width or position left,right or center, of a feature slider? That would be a nice addition on future updates. Also I thought it might be nice on the forum to have some new categories for common CSS code Shortcuts and Tips to look up and a New Features request so you could gauge interest on what changes the user would like.

Share this post


Link to post
Share on other sites
kastelic

You would have to prepend each comma-seperated rule with the page id, for example: .page-id-19 #feature-area, .page-id-19 .feature-wrap, etc...

Share this post


Link to post
Share on other sites
clneon

In the PlatformPro Docs on Customization Tips the video showing how to add custom CSS to the page is only added once to all the comma-seperated rules? I don't mind adding it to the different rules, but it seems to already override the parent rules and works correctly. I can see how adding it to everything makes it more specific. Are there any of the rules that could be removed because they aren't needed?

Share this post


Link to post
Share on other sites
catrina

When it comes to CSS rules being removed, are you speaking in general terms or when it comes to just the feature area?


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
sopdyl
how do you change the thumbnail navigation bar underneath?

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  

×