Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1039758

    Hi Team,

    I need a hand with my css adding a space between the PDF icon and the URL seen in the image. I can’t make it work for some reason :(

    View post on imgur.com

    /* ———-PDF Icon———- */

    a[href$=”.pdf”]:before {
    /* PDF file */
    width:16px;
    height:16px;
    background:url(‘https://cdn1.iconfinder.com/data/icons/silk2/page_white_acrobat.png’);
    display:inline-block;
    content:’ ‘;
    }

    #1039837

    Hey Animationink,

    Thank you for contacting us.

    Try adding the margin property. Your code should look similar to:

    a[href$=”.pdf”]:before {
    /* PDF file */
    margin-right: 20px;
    width:16px;
    height:16px;
    background:url(‘https://cdn1.iconfinder.com/data/icons/silk2/page_white_acrobat.png’);
    display:inline-block;
    content:’ ‘;
    }

    If you still have an issue, please provide a precise link to the page, showing the elements in question? We need to be able to inspect them in order to help :)

    Best regards,
    Vinay

    #1039841

    Hi Vinay,

    It worked a treat!!! Thank you for your help

    #1039884

    Hi,

    Great, glad we could help :-)

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1040221

    Hi Team.

    Sorry to open this again… but how do I removed it the icon for an individual pdf link?

    Cheers

    Carl

    #1040856

    Hi Carl,

    Can you give us a link? also point us to the individual pdf link you want your icon removed.

    Best regards,
    Nikko

    #1056050
    This reply has been marked as private.
    #1056288

    Hi Animationink,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1061892

    Hi Victoria, See below credentials.

    • This reply was modified 5 years, 10 months ago by Victoria.
    #1062313

    Hi Animationink,

    I added the class to your links on that page and added css in the Quick css. The code should work, but you need to upgrade php firts, looks like the styles are not pciked up from Quick css and not added to the porper file.

    Best regards,
    Victoria

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