We launched new forums in March 2019β€”join us there. In a hurry for help with your website? Get Help Now!
    • 6696
    • 145 Posts
    I would like to add a link to the header graphic in my template but it looks like the header graphic is controlled by the CSS file. It’s called in as a background. Can a web link be attached to a file that is controlled by CSS? Do I have control over the header area in a Chunk? I know the Footer is controlled by a Chunk file. I did not see the header there though.

    thanks,
    Daniel
      • 7455
      • 2,204 Posts
      just place an <a> inside the element that holds the background and put it on block in css (if nothing else is in that element that this should work).
        follow me on twitter: @dimmy01
        • 6696
        • 145 Posts
        I need to link the far right section of the header. Currently there is a link on the far left that links to the index page. Can I link the far right side to a outside page? If so how can I control that in the CMS? IS that header controlled by a Chunk?

        Daniel
          • 6696
          • 145 Posts
          Any word on this? Just checking in.

          Daniel
            • 28042 β˜† A M B β˜†
            • 24,524 Posts
            The suggestion was to create a set of <a href="[(site_url)]"> </a> tags in the beginning of the header container. Then in the CSS, set it to display: block, float it (or absolutely position it) into position in the upper left where you want the link to be, and give it an appropriate width and height for the area that you want to be clickable.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 6696
              • 145 Posts
              Thanks . . . where do I make that edit in the admin? I was looking for a place where I can customize the header area but I do not see that. There is a link there already for the template logo I believe but I cannot find that for editing in the admin. I see a place to edit footer info but not header info.

              thanks,
              Daniel