We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7527
    • 437 Posts
    Hi all,

    I am having a bit of difficulty with a template variable. My site is designed in a high resolution and I have adjusted all columns to suit lower ones. But I have two images on the screen that are drawn in by a Template variable. I don't know how to set the width to 100%, as at the moment when I minimise my browser, all boxes minimise but the 2 images extend outside of their div box. Any ideas?

    Thank you
    Seb
      www.PawsForWildlife.co.uk
      www.Borntobrick.co.uk
      • 5430
      • 247 Posts
      We will need more details to comment helpfully. How are you rendering the template variables, are they outputting as simple strings or as complete image tags? How are they used in your template? This sounds more like a CSS problem than a MODX problem, but I may be misunderstanding your question.
        • 7527
        • 437 Posts
        Hi Claytonk. My apologies, I'm being stupid. My TV's rendered a size of 350px, I changed to 100% and it works perfect. Thanks anyway
          www.PawsForWildlife.co.uk
          www.Borntobrick.co.uk