Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Trying to add a button

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #269169
    samtastic
    Participant

    So I’m working on Weebly, and I want to add a button in the header/menu area that links to my Ko-Fi donation page.
    Ko-Fi provides button codes, but they’re in html.

    <a href="https://ko-fi.com/widgets/widget_2.js">https://ko-fi.com/widgets/widget_2.js</a>kofiwidget2.init('Buy Me a Coffee', '#3f6635', 'E1E38QSR');kofiwidget2.draw();

    However, attempting to insert that into the CSS.. well, as you’d probably imagine, it doesn’t work.

    So I found a CSS button generator, but it only did part of the job, which was make the image. It didn’t apply the link, and I don’t know where to put it (nor where to put the code). The website didn’t provide any guides for the not-so-CSS-savvy.

    I’d really like to just use the button provided by Ko-Fi, if that’s possible. Could someone lend me a hand?

    #269173
    samtastic
    Participant

    Edit: I’ve decided it’d be best to put it at the bottom of the page so it’s not distracting to guests. Question on how to get it there on every page still applies, though.

    #269179
    Beverleyh
    Participant

    This question sounds like it’s more suited to the Weebly forums/community/help centre since it sounds like a question on how to use their software. Unfortunately, most of the regular posters here code their own website/apps/plug-ins; They’re unlikely to use prebuilt website services like Weebly, and therefore unlikely to know the inner workings of such platforms (templating shortcodes, menus/fields for where to insert custom CSS/HTML/JS/PHP, or whatever editing freedom it has, or customisation capacity is provided).

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.