1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

fixed width style / image width for "Notice" ?

Discussion in 'XenForo Questions and Support' started by erich37, May 23, 2012.

  1. erich37

    erich37 Well-Known Member

    I do have a "Fixed Width Style" at my Forum with the following width at "Style Properties > General > Page Width Controller":

    width: 990px;
    margin: 0 auto;
    Now I would like to create "Notices" for a specific Foru-Node. The "Notice" should be just ONE "Notice", so it is still and is not moving (as it's only 1 Notice).
    I would like to put just an image (photo) into the "Notice" - just 1 simple image.

    how do I figure out the width of the "Notice content area", so that I know what kind of width my image should have? I have checked the Notices-code with FireBug, but I can not find anywhere the width of my Notice.

    what would be the code to place just one simple image into a "Notice" ?

    Appreciate your help!
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    1) I would measure it. Take a screenshot and open it in a graphics program. I can do this if you post the URL to your forum.

    2) You can use a html image tag:

    <img src="path/to/image.gif" />
    erich37 likes this.
  3. erich37

    erich37 Well-Known Member

    many thanks Jake. :)
    I will figure it out with my Fireworks program. o_O
  4. erich37

    erich37 Well-Known Member

    <img src="/path/to/image.jpg" style="display:block; width:100%" />
    the code above and disabling the Option "Add default notice text styling" and it works just fine :)

Share This Page