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

messageInfo primaryContent border?

Discussion in 'Styling and Customization Questions' started by Neil E., Aug 21, 2012.

  1. Neil E.

    Neil E. Active Member

    The message area has a border around it in the default XF style. I can't locate where the border is styled. How does one get the text X to move over (not touch the border)?

    On this support forum the border in question is not used.
  2. MagnusB

    MagnusB Well-Known Member

    This forum uses the default style, so if the border is there you have probably applied it your self. I just double checked on my site, where the default style is completely untouched, and there is no border there.

    As to where it is applied, it is difficult for me to say. As I have seen from your other posts, you mainly do editing via style properties, so I would suggest you take a look at message layout -> Message container or Content container. CSS to check is .messageInfo, .messageContent or .messageText.
  3. Steve F

    Steve F Well-Known Member

    Did you remove the padding from the primaryContent style property? If you need to work around not having primaryContent padding you can add to Style Properties -> Message Layout -> Content Container as MagnusB said above.

    Default is padding: 10px
  4. Neil E.

    Neil E. Active Member

    I found it. I was experimenting with Primary Content and had changed the border. I'm sure I was doing this for a different part of the forum and didn't notice that this location was also altered. By opening two browser windows, with one looking at the modified Primary Content and the other looking at it with a "reset" done, I could easily find the difference. As long as both windows are open I can update style properties either way.
    Thanks for the help.
  5. Neil E.

    Neil E. Active Member

    Now I recall why I did it. I'm working on a two column node list and wanted a margin around each node. Trying to separate out individual items to apply new styling is difficult.

Share This Page