Jump to content
Sign in to follow this  
sunwater

Resolution Specific vs. Browser Specific CSS

Recommended Posts

sunwater

First off the 'Browser Specific CSS' plugin is great and has helped to really tune in my site. I would love to extend it a bit. Is there a way to tweak this to add a resolution dependent '.narrow' or '.wide' class? Similar to what is mentioned here ... http://css-tricks.com/resolution-specific-stylesheets/ Thanks

Share this post


Link to post
Share on other sites
Rob
I don't know that our plugins can be modified as you can things like sections or templates. However, I think you can request help on this matter from one of our Pros at http://www.pagelines.com/pros

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Simon
You could edit the code to not just filter in new body classes but actually enqueue style sheets depending on the browser.

Share this post


Link to post
Share on other sites
sunwater
[quote]I don't know that our plugins can be modified as you can things like sections or templates. However, I think you can request help on this matter from one of our Pros at [/quote] I guess I could hire a 'pro' for anything ... but I'm here to learn for myself and from others experience here. I paid into the developer program so I could get the code & documentation and really dig into Pagelines plus the 'Dedicated Support' that I should get. You, as a pagelines moderator (@rangelone) immediately recommending that I hire someone is a bit off-putting.

Share this post


Link to post
Share on other sites
Rob
I apologize completely, but knowing that the editing of a plugin is not something supported in the forum, and that the plugin itself couldn't easily be modified, as confirmed by Simon, it seemed only logical to recommend one of our pros because you're looking for a customized solution. I'm not aware of your license or technical skill, so accept my apology for that too. No one has ever asked to change that plugin to achieve the same goal, so I can't even cross reference you to another post. I believe however, you can, as a developer, always create a new plugin. I just don't know how one goes about that and our pros may, hence my recommendation made solely to assist you in achieving your goal. As Simon suggests, you can't add new stylesheets into that plugin, but a totally different one might be a positive solution.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Simon
Here is the code for the plugin, its a simple class http://paste.pagelines.com/5a Have a crack at it if you like. If you have difficulties just post back here and i'll help, be aware tho, its paddys weekend here in dublin so responses may not be instant or indeed legible lol

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  

×