![]() |
|
Trying to combine a snippet in a footer - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Webmasters (https://hackforums.net/forumdisplay.php?fid=141) +---- Forum: Website Construction (https://hackforums.net/forumdisplay.php?fid=50) +---- Thread: Trying to combine a snippet in a footer (/showthread.php?tid=5976947) |
Trying to combine a snippet in a footer - alandashi - Jun 5, 2019 Hey guys, I'm in a bit of a pickle. I have a shopify brooklyn theme. I managed to move my subscribe button at the very bottom(below footer). However, I'm looking into making the subscribe button available within the footer. I created a snipped with the subscribe section and i called it from the footer but that only put it in the middle of the footer and not on the far right side like on this photo
RE: Trying to combine a snippet in a footer - webdev77 - Jun 5, 2019 Move the markup for the subscribe box into the footer then. I'm not sure what else to tell you since you didn't post any content that we can review. RE: Trying to combine a snippet in a footer - alandashi - Jun 5, 2019 I can't type the whole code here since It's not letting me. Newspaper/subscribe code https://pastebin.com/Df6QXNGV Footer code: https://pastebin.com/C1RdQFw1 There are two ways i approached this. 1. Put the newspaper code in the theme.liquid which just put the subscribe button below the footer. PHP Code 2. Create a snipped, then put that snipped in the footer and call it from there, but i could not put the whole code in the snipped because {% schema %} cannot be included in the snipped. Again, though, the subscribe button was within the footer, but not on the right side, and without some of the functions from the schema. |