( ! ) 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.0001397368{main}( ).../index.php:0 20.0002399408require( '/home/andyinf/magnior.com/wp-blog-header.php' ).../index.php:17 31.103532704320require_once( '/home/andyinf/magnior.com/wp-includes/template-loader.php' ).../wp-blog-header.php:19 41.116832724192include( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/single-knowledgebase.php' ).../template-loader.php:74 51.116832724192get_header( ).../single-knowledgebase.php:2 61.116832724568locate_template( ).../general-template.php:41 71.116832724664load_template( ).../template.php:647 81.117032745288require_once( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/header.php' ).../template.php:688 91.119132756032get_the_excerpt( ).../header.php:40 101.119132756032apply_filters( ).../post-template.php:381 111.119132756432WP_Hook->apply_filters( ).../plugin.php:203 121.119132757936wp_trim_excerpt( ).../class-wp-hook.php:288 131.119132757936get_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