Adding a Custom Ads (v1.0.3)
In version 1.0.3 of the Elrond theme, we added custom ad spaces. The main ad is placed full-width just below the Featured Posts area, while the other ad is positioned at the bottom of the right widget
Last updated
In version 1.0.3 of the Elrond theme, we added custom ad spaces. The main ad is placed full-width just below the Featured Posts area, while the other ad is positioned at the bottom of the right widget
Last updated
Example:
Now let's see how to use it. First, if you want to add an advertisement as a static image, you can do this from the Ghost Admin panel.
Click on the "Design & branding" tab on the Ghost Admin, and click the Homepage tab.
Upload your desired advertisement images to the Homepage main advertisement area and Right widget advertisement areas, and save.
All done!
For this, a bit of theme customization outside of the Ghost Admin panel is necessary.
First, extract the elrond.zip file that you downloaded into a folder.
Open the 'homepage-main-advertisement.hbs' and 'right-widget-advertisement.hbs' files in the Partials folder using a code editor, and add your own code to the specified area.
After adding the code, save the files, then compress the 'elrond' folder back into a zip file and upload the theme.
All done!