• Resolved Ivan Lutrov

    (@ivanlutrov)


    It would be useful to have a CSS class allocated to the paragraph text for these restriction messages:

    1. Messages for logged-out users
    2. Messages for logged-in non-member users

    Right now, they’re just plain paragraph text which makes them hard to style. I suggest something like “restriction-message logged-out” and “restriction-message logged-in-non-member” might be suitable.

    • This topic was modified 6 years, 1 month ago by Ivan Lutrov.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Georgian Cocora

    (@raster02)

    Hello @ivanlutrov,

    Thank you for the suggestion. I will add these in for the next version.

    Regards.

    Plugin Author Georgian Cocora

    (@raster02)

    Hello @ivanlutrov,

    I looked a bit more carefully into this and it seems that we don’t add any default wrappers to the messages that you define.

    So in order to do this, simply wrap the restriction message in a div with the class that you’re looking to have in the front-end (use the Text mode of the editor for this).
    The paragraph you see now is created by the WYSIWYG editor that we have.

    Let me know if this worked.

    Regards.

    Thread Starter Ivan Lutrov

    (@ivanlutrov)

    Hey @raster02, that works just fine. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Restriction message classes’ is closed to new replies.