• Hi there,

    I am trying to build a website on my local in which the front page has all the content inside, but each sector has a different look so I would like to ask, how is it possible to achieve this?
    Is it possible to have different templates for the different sectors/slides and how?

    Also, is it possible to add a custom link in the sector navigation, by which I can go to the post page which is not going to look like the rest?

    Thank you,
    Ivelin!

    https://www.ads-software.com/plugins/wp-fullpage/

Viewing 1 replies (of 1 total)
  • Plugin Author Julien Zerbib

    (@julien-zerbib)

    Hi,

    Sure you can override the templates using the slug.
    First, you’ll have to do this.

    Then you’ll be able, to change the structure of a section, in YOURTHEME/wp-fullpage/loop/, to copy section.php renaming it YOURTHEME/wp-fullpage/css/section-yourslug.php.
    You can use .section-yourslug as selector too in jquery.fullpage.custom.css.
    And it is the same for slides (YOURTHEME/wp-fullpage/loop/slide.php and .slide-yourslug).

    Regarding the custom links going to a particular slide, you can use this in a href, like href="javascript:jQuery.fn.fullpage.moveTo(3, 0);".

    Cheers,

    Julien

Viewing 1 replies (of 1 total)
  • The topic ‘Different look for the sections’ is closed to new replies.