Advertisement
daymobrew

vqMod example

Jun 20th, 2025
282
0
29 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.51 KB | Source Code | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.     <modification
  3.                xmlns="https://github.com/vqmod/vqmod"
  4.                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5.                xsi:schemaLocation="https://github.com/vqmod/vqmod https://raw.githubusercontent.com/vqmod/vqmod/master/vqmod.xsd">
  6.                 >
  7.         <id>Temporarily close shop</id>
  8.         <version>1.0</version>
  9.         <vqmver>2.X</vqmver>
  10.         <author>Damien Carbery</author>
  11. <!-- See: https://github.com/vqmod/vqmod/wiki/Examples -->
  12.         <file name="catalog/view/theme/luxury/template/common/header.twig">
  13.             <operation info="Summer closure notice.">
  14.                 <search position="after"><![CDATA[
  15. <header>
  16.                 ]]></search>
  17.                 <add><![CDATA[
  18. <style>#summer-notice { background-color: var(--background); border: 2px solid var(--main-colour); color: var(--text-colour); margin: 0 auto; padding: 5px; text-align: center; max-width: 200px; }
  19. @media (min-width: 769px) { #summer-notice { font-size: 200%; max-width: 700px; } }
  20. #summer-notice p { margin-bottom: 0; }
  21. </style>
  22. <div id="summer-notice" class="notice"><p>SUMMER CLOSURE: No orders can be taken until the end of August.</p></div>
  23. <!--<div id="summer-notice" class="notice"><p>Until Tuesday 20 August only <a href="/personalised-chocolate">40g personalised chocolate bar</a> orders can be taken. For all other orders please contact <a href="tel:+353860649222">086-064-9222</a> or email <a href="mailto:[email protected]">[email protected]</p></div>-->
  24.                 ]]></add>
  25.             </operation>
  26.         </file>
  27.     </modification>
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement