I am hoping for some header / CSS help. I know a lot of languages but am just getting started with CSS.
I am trying to place a notice at the top of my header reminding members to renew when they get close to their renewal date. Renewal will be done via our main website, so I’d like to include a link. I am using the ‘Light’ theme.
I am very close, having taking the following steps:
Created a group called ‘renewal’ with a ‘please renew’ avatar but no other actions.
Set ‘renewal’ to be the primary group.
Included ‘renewal’ in the group ownership using SSO from my remote site based on renewal date.
Placed the following custom code in the Header of Common:
- Placed the following code in the CSS of Common
It works to the point of showing the text when the user is a member of the renewal group.
Now I’d like to enhance this notice by making it a red font and including an <a tag for ‘click here to renew.’ But as most of you know, one cannot add HTML tags to a Content: string. I tried adding a font color to the <div but no luck.
Is there an easy answer? Or another way completely to address this, like turning on and off the entire div block?
FYI the example I started from used a <p tag in the header but that put an extra blank line at the top of the header whether triggered or not. I’d like to avoid that…
Thanks for your help!