Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Content Constructor is fully based on Vue.js so if you're not familiar please read some about it first: http://vuejs.org/

Info

Note: scripts within module needs to be builded first (gulp pipeline from theme module doesn’t track mentioned changes), to get your changes visible for you.

To locally build module:
1. enter module directory and then run yarn install
2. after all dependencies are properly installed, run file watcher by command yarn start

1. Request a BE part of the component

...

Code Block
&__slogan {
    // Headlines, paragraphs and list that can be added via editor should keep slogan styles
    // When styled in editor elements will receive inline styles that will take precedence
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    li { {
        font-family: inherit;
        font-familysize: inherit;
        fontline-sizeheight: inherit;
        linefont-heightweight: inherit;
        font-weightstyle: inherit;
        font-style: inherit;
    }
}  }
}
Note

When links <a> are added to description/slogan do not link the whole slide. Use Link only CTA button setting in Advanced tab.

...

Add static block content as description/slogan content for image-teaser

Static block HTML can be inserted as description content by using a directive with block ID:

Code Block
{{block id="teaser_content"}}

...

Note

When links <a> are added to description/slogan do not link the whole slide. Use Link only CTA button setting in Advanced tab.

...