Hi guys
Here is my problem.
I have the following bit of CSS that is used on all the pages of my site:
Code:
#members-session-content .name {
display: block;
color: #D81407;
padding-right: 0.5em;
font-weight: bold;
background-color: #ffffff;
width: 100%;
text-align: center;
}
This div is the container of the username displayed when the user has signed in.
The problem is that I can't change the CSS depending on whether the user is logged in or not.
So, I need to have a unique CSS that works on both cases.
But, when the user isn't logged ( when the div has no content), the white rectangle remains.
My question is : how could I edit the unique CSS so that, the white background doesn't show when the div
has no content? Is this possible?
Thanks