Custom Fields
Re-Envisioned
Support MB Views Instert Fields/Values in CSS Tab of Views

  • Creator
    Topic
  • #32368
    Resolved Ole Poetter
    Participant

    Hi,
    can you make it possible to allow to insert fields in the css tab of the view extension?

    Kind regards,
    Ole

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #32398
    Long Nguyen
    Moderator

    Hi,

    It's not possible. But you can add the field value in the <style> tag to use the dynamic CSS property value. For example

    <h1>{{ post.title }}</h1>
    
    <style type="text/css">
        h1 { color: {{ post.colorpicker }} }
    </style>
    #32399
    Ole Poetter
    Participant

    Hi,

    yes, sure that is possible. But I think to much inline css is no the best way.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.