• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Pageitemposter style?

Participant ,
Nov 13, 2017 Nov 13, 2017

Copy link to clipboard

Copied

Can you add css to the pageitemposter ?

So rather than

<div><img  src="imageurl" style="height=#; width:#;"></div>

Can it be something like scale to fit?

<div id="imgposter"></div>

<style>

#imgposter {

background-image: url("imageurl");

background-size: cover;

height: #;

}

</style>

I'm basically trying to do the whole "scale to fit" in a preview image. So that way it can generate within the full preview box regardless if the builtin height or width

TOPICS
Mucow development

Views

448

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Dec 04, 2017 Dec 04, 2017

Copy link to clipboard

Copied

LATEST

The image poster is basically the widget container. You can reference it in CSS using #{param_itemUID} after using the <builtin name='itemUID' /> tag.

David

Creative Muse

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines