TOPIC:

Re: Creating Custom Themes 9 years 7 months ago #67700

  • TheMuffinMan's Avatar Topic Author
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10064
  • Karma: 167
  • Thanks: 808
Hi,

for the list CB is using standard classes. You have 2 options:

1. Creating a template override and give the table different class names and specify custom css for these classes

Please read this short sample:

crosstec.org/en/forums/37-contentbuilder...-listview.html#65503

2. Using a theming plugin and override all the relevant CSS for the existing classes, but adding an !important after each CSS style, so it cannot be overriden by Yootheme. For example:
.cbListView category { border: 20px !important; }

Both approaches will have a similiar work load but by both you can keep yootheme away from styling your tables.

Regards,
Markus

Please Log in or Create an account to join the conversation.

Last edit: Post by TheMuffinMan.

Re: Creating Custom Themes 9 years 7 months ago #67716

  • archinfoto
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 28
  • Thanks: 0
Option 1 I have try it, but it's not work.

Option 2 I find you lost example link at reply post.
so can you add it again?

Please Log in or Create an account to join the conversation.

Last edit: Post by archinfoto.

Re: Creating Custom Themes 9 years 7 months ago #67930

  • TheMuffinMan's Avatar Topic Author
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10064
  • Karma: 167
  • Thanks: 808
re-added, sorry!

Please Log in or Create an account to join the conversation.

Re: Creating Custom Themes 9 years 7 months ago #68019

  • archinfoto
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 28
  • Thanks: 0

TheMuffinMan wrote: Hi,

2. Using a theming plugin and override all the relevant CSS for the existing classes, but adding an !important after each CSS style, so it cannot be overriden by Yootheme. For example:

.cbListView category { border: 20px !important; }


So I should open SITE/plugins/contentbuilder_themes/khepri/khepri.php
and find
function getContentTemplateCss(){
            
   return '/* Administrator forms, lists */
......
......
#permissions-sliders
{
}
';
        }

to adding an !important after each CSS ?

Please Log in or Create an account to join the conversation.

Last edit: Post by archinfoto.

Re: Creating Custom Themes 9 years 6 months ago #68244

  • TheMuffinMan's Avatar Topic Author
  • TheMuffinMan
  • Offline
  • Developer
  • Developer
  • Posts: 10064
  • Karma: 167
  • Thanks: 808
Hi,

sorry for being late at this!

I mean putting this

.cbListView category { border: 20px !important; }

in there. For example
function getContentTemplateCss(){
            
   return '/* Administrator forms, lists */
   .cbListView category { border: 20px !important; }
   ......

Please Log in or Create an account to join the conversation.

Re: Creating Custom Themes 8 years 4 months ago #93510

  • robert078's Avatar
  • robert078
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 5
  • Thanks: 0
Thanks for youe nice post and your guidelines. This post is very helpful for me to colourized my websites. Now i am create my own theme and pulish it into my sites. I want more like this. Please share more....

Please Log in or Create an account to join the conversation.

Moderators: ForumSupport
Time to create page: 0.053 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!