( ! ) 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.0001397480{main}( ).../index.php:0 20.0002399520require( '/home/andyinf/magnior.com/wp-blog-header.php' ).../index.php:17 31.288132990792require_once( '/home/andyinf/magnior.com/wp-includes/template-loader.php' ).../wp-blog-header.php:19 41.292033076200include( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/single-knowledgebase.php' ).../template-loader.php:74 51.292033076200get_header( ).../single-knowledgebase.php:2 61.292033076576locate_template( ).../general-template.php:41 71.292033076672load_template( ).../template.php:647 81.292333097296require_once( '/home/andyinf/magnior.com/wp-content/themes/ab-theme/header.php' ).../template.php:688 91.294533108016get_the_excerpt( ).../header.php:40 101.294533108016apply_filters( ).../post-template.php:381 111.294533108416WP_Hook->apply_filters( ).../plugin.php:203 121.294533109920wp_trim_excerpt( ).../class-wp-hook.php:288 131.294533109920get_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