Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] How do I separate login shortcode and non-logged in message?

Simple Membership Plugin › Forums › Simple Membership Plugin › How do I separate login shortcode and non-logged in message?

Tagged: custom message css

  • This topic has 2 replies, 2 voices, and was last updated 6 years, 5 months ago by 123design.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 15, 2019 at 9:29 am #19470
    123design
    Participant

    Following this article…

    https://simple-membership-plugin.com/simple-membership-custom-messages-addon/

    I used CSS to edit the “you need to be logged in…” message but that css is also affecting the login shortcode? How do I create a distinction so the restricted post is only affected by the css?

    December 16, 2019 at 11:11 pm #19473
    mbrsolution
    Moderator

    Hi, can you share the code you are using to customize your message?

    How do I create a distinction so the restricted post is only affected by the css?

    Can you provide an example of what you are trying to achieve? Maybe even share a screen capture pointing to the area you want to change and the area you don’t want the change. Can you also share a link so I can check.

    Thank you

    December 17, 2019 at 1:21 am #19475
    123design
    Participant

    Well the problem has changed a bit.

    I realized that whenever I use the Custom Message add-on it changes the classes of that message to .entry-content.

    For example, when I change the Restricted Post message the class goes from .swpm-post-no-access-msg to .entry-content. Like all of them. This wouldn’t be a problem, I’d just use that one class to target all the messages but the login shortcode is ALSO linked to this class.

    I want to add custom messages and then customize them but I can’t do both of these things at once. If I add the custom messages I can’t use CSS.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy