How can I use the article source for my v2 widgets?

Joakim Updated by Joakim

How can I use the article source for my v2 widgets?

For all default templates you can use the article source for your posts.

Default templates : 

  • Default horizontal
  • Default horizontal - Mobile 2 cols
  • Default sidebar
  • Default sidebar images right
  • Default text on top
  • Default text on top - Mobile 2 cols

There are three possible placements for the source in the widget exactly as for the ad label. Those are: 

  • on the image 
  • above the title
  • below the content 

of each post. Currently the source is hidden so you need to enable it through the Additional CSS field. 

To enable on image source:

.source-on-image-{{cssId}} {
display: inline-block;
}

To enable above title preamble:

.source-above-title-{{cssId}} {
display: inline-block;
}

To enable below content preamble:

.source-below-content-{{cssId}} {
display: inline-block;
}

You can also use the same classes to change the look and feel of the source.

Below you can see some examples:

How did we do?

How can I use a preamble for my v2 widgets?

Contact