Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Add code to sidebarr

  • #1005
    Avatar photo[anonymous]

    Hello, i would like to add this code, to my sidebarr as shown in the image. How can i do it?

    The code:

    <iframe data-aa=”1288979″ src=”//acceptable.a-ads.com/1288979″ scrolling=”no” style=”border:0px; padding:0; width: 100%; overflow:hidden” allowtransparency=”true”></iframe>ads

    #1008
    Avatar photoBob

    Hi Johan,

    You have to edit the sidebar.hbs file located: Documents ▸ ⁨Publii⁩ ▸ ⁨sites⁩ ▸ ⁨YOUR_SITE ▸ ⁨input⁩ ▸ ⁨themes⁩ ▸ ⁨YOUR_THEME ▸  partials

    To preserve the custom code changed from being overwritten the next time your theme is updated, please make sure you have created override files, which are essentially copies of the existing theme files and are stored separately → https://getpublii.com/dev/theme-overrides/

    #1051
    Avatar photo[anonymous]

    Ok. Another thing. Is there a way to move the post shown like in the image:?Untitled

    #1058
    Avatar photoBob

    Yeapp, it is, but it requires some customization work.

    Our support doesn’t include custom development or customization. If you need some extra features or elements in our themes, feel free to contact us via https://getpublii.com/customization-service/ page.

    #1060
    Avatar photo[anonymous]

    @Bob
    Yeah, I understand. But I don’t think that it is so hard to edit it.

    I mean, I could do it myself, but I can’t “read” the code…

    #1061
    Avatar photo[anonymous]

    What i have managed to do.
    what i really need is 3 collums.
    And the sidebar should be next to the hero.

    Like thiss – ads-1