• I would like to use an SVG Image/Shape to change the horizontal crossing from Content to Header/Slider with a curve filled Shape with Transparency in full width.
    Trying this: add_filter('tc_slider_display', 'content_after_slider' ); … I have no full width and responsiveness issue.
    Using something like that: ‘function myfunc_before($content)…’I have z-index problem as I set Slider to -1.
    Can I add a kind of a Separator in between, can I achive it with Child-Template function.php?
    Thanks for your good Ideas

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter deBlogist

    (@deblogist)

    I found closest solution here:

    //we add the action with priority set to 5 => it will be displayed in first position (before the slider if any)
    add_action ('__after_header' , 'add_content_after_header', 20);
     
    function add_content_after_header() {
    	//checks if we are displaying the home page
    	/*if ( !tc__f( '__is_home' ) )
    		return;*/
    	?>
    		<div id="my-content-header">
    			<div class="row-fluid">
    				<div class="span12 text-center">
    				<div class="svg"><img src="/path/to/image/img.svg" /></div>
    				</div>
     			</div>
    		</div>
    	<?php
    }
    • This reply was modified 7 years, 8 months ago by deBlogist.
    Thread Starter deBlogist

    (@deblogist)

    for a while this is the Test Site:
    https://artist.formdesign.ch/

    Hi Deblogist,

    You will need to customize the theme for this. You can also consult with a developer.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Separator between header and main content’ is closed to new replies.