( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /home/andyinf/magnior.com/wp-includes/post-template.php on line 284 Call Stack #TimeMemoryFunctionLocation 10.0001402216{main}( ).../index.php:0 20.0002404256require( '/home/andyinf/magnior.com/wp-blog-header.php' ).../index.php:17 31.208932996184require_once( '/home/andyinf/magnior.com/wp-includes/template-loader.php' ).../wp-blog-header.php:19 41.210833081592include( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/single-knowledgebase.php' ).../template-loader.php:74 51.210833081592get_header( ).../single-knowledgebase.php:2 61.210833081968locate_template( ).../general-template.php:41 71.210933082064load_template( ).../template.php:647 81.211133102688require_once( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/header.php' ).../template.php:688 91.212533113408get_the_excerpt( ).../header.php:40 101.212533113408apply_filters( ).../post-template.php:381 111.212533113808WP_Hook->apply_filters( ).../plugin.php:203 121.212533115312wp_trim_excerpt( ).../class-wp-hook.php:288 131.212533115312get_the_content( ).../formatting.php:3337 " /> Why should we use ID and class when edit section? – Magnior

Why should we use ID and class when edit section?

When you install The Creator plugin, you need to add new page and add a section. When you add some content to that section, click on edit. As you can see, there is last tab named Advanced where you can put some ID or class.

 

 

advanced_tab

 

This is made because some of the clients want to add something new to code. For example, if you set main color in Customizer, it will be on all sections at the page. But, what if you need to change title color on some specific section? Don’t worry, just set ID or class in Advanced tab and then inspect element. You will see that ID or class in the code, as we have shown in this picture:

test_class

 

After that, open your style.css file and insert code, just like this:

.tcvpb_section_tc.test_class h3{
color: #24CDD4;
}

This is just example to change title color. You also can change something in your content by this.

 

 

 

Next article