[Resolved] Logged in /logged out css problem cart icon

Home Forums Support [Resolved] Logged in /logged out css problem cart icon

Home Forums Support Logged in /logged out css problem cart icon

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1443878
    johnaps

    Hello!
    When you login to my site the number of cart items & cart icon is out of position for media under 768px.

    View post on imgur.com


    But when i am unlogged everything is correct…

    View post on imgur.com


    Is there a way to apply css rules only for logged in users to fix this?

    #1444057
    David
    Staff
    Customer Support

    Hi there,

    WordPress adds the logged-in class to the <body> tag.
    So you can use that selector at the front of your CSS to style for logged in users only.

    #1445486
    johnaps

    thank you very much!!

    #1445655
    David
    Staff
    Customer Support

    You’re welcome

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