ad a custom slider

Posted in: Newspaper
Post count: 6

hej tagdiv
I like to edit the frontpage of the theme to insert a custom slider between the menu and the content.

Can you please tell me which php file I have to edit ?

I can see the the “breakcode” is around this class html line.

“td-main-content-wrap td-main-page-wrap”.

Thank you
Claus

Post count: 7909

Hi,

You can add your custom slider in the menu template that you use and add a condition to appear only for front page – http://screencast.com/t/VEIuCqkyZxy use something like this:

<?php if (is_front_page()) {
echo do_shortcode('your shortcode');
}?>

Thanks!

Post count: 6

hej again,
im not sure i expressed my selfe in a good way,
i like to make something like this on the blue marking :

http://www.roadsdk.dk/RoadsTMS–vejsikring.png

Can you tell me how to put it ?

Best regards,
claus

Post count: 7909

Hi,

You can edit your homepage and add the Slider via Visual Composer pagebuilder, if your plugin(I guess that you use a plugin) supports shortcodes. For example if you create a slider using Revolution Slider, you can add it via Visual Composer just on top of your content – http://screencast.com/t/vTjp4RxoT4
Or add it in the code like I suggested above just under the main menu(depends what header template you use).
Theme has 3 different page templates – http://screencast.com/t/rjjObhEfsOPO that you can use, not only for your homepage. To be clear there is no specific template for homepage to edit, but if you want to edit one of these templates you can find them here – http://screencast.com/t/0OKrXVHYV8n

Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.