Jump to content


Best Practice for custom CSS for Tabber widget


1 reply to this topic

#1 bobrandklev

bobrandklev

    Advanced Member

  • Members
  • Others: All Plugins, All Themes, Toolkit
  • PipPipPip
  • 113 posts
  • LocationIowa

Posted 04 October 2011 - 01:06 PM

I have a project we are using Tabber and I've customized the css in the widget files BECAUSE it loads AFTER style.css which we normally edit in the child theme.

I've made a copy locally for backup in case the tabber widget gets updated and our customization is over written.

Is there an easier way?

Should I append the CSS to the end of the style.css and mark it !important

There must be a better way to do this?

Website Design, Development, Hosting, Support and Training

http://CyberInnovation.com


Looking for a plan B?

http://LifeIsTooBusy.com


Do you need a vacation?

http://VacationWithBob.com


#2 Bes Zain

Bes Zain

    Member

  • Members
  • 4,268 posts
  • LocationIn your monitor. And next to San Francisco

Posted 04 October 2011 - 03:16 PM

Hi Bob, :)

Thanks for posting this! If I understand you correctly, the best way would indeed be to place it in your child theme's style.css AND use !important wherever necessary to achieve the desired effect.

The mere fact that Widget files get replaced regularly with different updates is a strong enough reason to move such CSS customization outside of those files and place them elsewhere, like in your style.css

Hope that helps! Let me know.

Regards,

Bes



Reply to this Topic


ATTENTION
If this topic is marked RESOLVED or INFORMATION, or if you are NOT experiencing EXACTLY the same issue, please start a new topic to provide the details of your problem. If the solution provided doesn't work for you, you should start a new topic. If you feel this thread contains relevant information, you may include a link to it in your new topic. To ensure that we can process your support request efficiently, ALWAYS include a link to your site, and/or the page your request is related to. When posting your question or request on the forum, please be as concise and specific as possible. The shorter and more to the point you can make your request, the better.

For BackupBuddy related issues, be sure to include the status log from your most recent backup.

CLICK HERE to start a new topic in the Tabber-Widget Plugin forum.


  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users