Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ben Huson

    (@husobj)

    It’s possible to wrap all the content parts in divs with different classes so you can style them differently – so you could give them different backgrounds.

    The following outputs all the content parts surrounded by divs each with a class ‘content-part-1’, ‘content-part-2’ etc…

    <?php
    the_content_parts( array(
    	'before' => '<div class="content-part content-part-%%part%%">',
    	'after'  => '</div>'
    ) );
    ?>

    Not sure if that’s what you need?

    Thread Starter ashu8000

    (@ashu8000)

    @ben Huson,:Thanks but I a new in this field .I don’t even know where to put these snippet.Please guide me in detail step wise. I want to create page like this with different full width background in Customizr theme.

    Plugin Author Ben Huson

    (@husobj)

    It would really depending on the theme you are using, but really to achieve something like that you probably need a theme that already works like that, or to build a complete theme yourself, or commission someone to develop one for you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘full width colour background in different content’ is closed to new replies.