Hi everyone,
Two weeks in to using sqsp as an absolute novice. Steep learning curve, but have had some success with inserting accordion java script, so I am very excited. I have no coding skills, but I am learning. The problem I try to solve is this:
The default button wen using the code (in a code block in the Five template) below is a grey background with black text and light blue background when hovering:
<input type="button" value="Click to download PDF" onClick="location.href='../infertility-1'" />
I tried to following code to modify the colours, but only the text colour has changed, not the background colour:
<input type="button" value="Click to download PDF" onClick="location.href='../infertility-1'" style="background-color:# a7cb00; color:#f00;"/>
I thought might try to 'force' the issue by adding the !important tag, but that made no difference:
<input type="button" value="Click to download PDF" onClick="location.href='../infertility-1'" style="background-color:# a7cb00 !important; color:#f00 !important;"/>
I am willing to learn, but have no idea whether it can even be done and if so, where can I read about the solution.
I just want a button that will link to a PDF document in a colour that matches the web design. Perhaps there is a better way?
Luk