raviriley / agency-jekyll-theme

Jekyll version of the newest Agency Bootstrap theme, plus new features: Google Analytics, Markdown support, custom pages, and more!
https://raviriley.github.io/agency-jekyll-theme-starter/
MIT License
347 stars 689 forks source link

How to edit the HTML code ? #77

Closed santannamv closed 9 months ago

santannamv commented 9 months ago

Hi Ravi, Sorry about my lack of knowledge but I want to edit the icons of the 'Service' section, substitute for a custom image instead the font icon. For doing this I need to edit the 'service.html' file which doesn't exist in my repository, just on yours. I would be very grateful if you give me some tip.

raviriley commented 9 months ago

Hi @santannamv, see this line: https://github.com/raviriley/agency-jekyll-theme/blob/1656eafb03c2ae026ba7ed88871984b62377fabc/_data/sitetext.yml#L26

You can change the icon in the sitetext file. If a font awesome icon does not suit your needs and you want to use your own image, you can modify the services file to use an img tag instead of an icon i tag.

Click here to see the services file. You can copy the linked file to _includes/services.html and modify as needed in your repo.

raviriley commented 9 months ago

For any other files you want to override, simply add them with the same path as my repo and then modify to your needs.