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

Not a Bug discussion_list.css border

Discussion in 'Resolved Bug Reports' started by Marcus, Jan 16, 2014.

  1. Marcus

    Marcus Well-Known Member

    Code:
    .discussionListItem
    {
       @property "primaryContent.background";
       background-color: @contentBackground;
       @property "/primaryContent.background";
       
       @property "primaryContent.border";
       border-bottom: 1px solid @primaryLighterStill;
       @property "/primaryContent.border";
    }
    border-bottom: 1px solid @primaryLighterStill; is not needed, it is already in primaryContent.border
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    This:
    Code:
    border-bottom: 1px solid @primaryLighterStill;
    Is there BECAUSE of:
    Code:
    @property "primaryContent.border";
    That's how Style Properties work.

    Delete:
    Code:
    border-bottom: 1px solid @primaryLighterStill;
    Save the template.
    Refresh the page,
    Code:
    border-bottom: 1px solid @primaryLighterStill;
    Will come back.
     
  3. Marcus

    Marcus Well-Known Member

    I also noticed edits in the css templates show up in style properties. Thanks for explaining it to me. XenForo is more advanced than I thought.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Anything between the property tags is common/shared in the SPs and template.
     
    Amaury likes this.

Share This Page