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

Styles - [quote] colours

Discussion in 'XenForo Questions and Support' started by Alex Apple, Oct 23, 2010.

  1. Alex Apple

    Alex Apple Member

    Loving xf currently!

    I'm fiddling around trying to make a custom style to match my site's colour scheme - it's working well currently but I haven't found a way of changing either the text in the quote boxes, or the colour of the quote boxes themselves, without making other more global changes that I don't want to make. Is this possible?

    Also, is it possible to change the background of the text input box when you're making a post, so I can have it slightly darker than the default white?

    Thanks in advance.
     

    Attached Files:

  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The quote boxes use these two background colors by default:

    Admin CP -> Appearance -> Style Properties -> Color Palette
    > @secondaryLighter
    > @secondaryLightest


    Or you can edit the CSS for the quote box if you want to affect only quote boxes:

    Admin CP -> Appearance -> Templates -> bb_code.css

    Code:
    .bbCodeQuote .attribution
    {
    	color: @contentText;
    	background: @secondaryLighter url(@imagePath/xenforo/gradients/category-23px-light.png) repeat-x top;
    	border-bottom: 1px solid @secondaryLight;
    }
    
    .bbCodeQuote blockquote
    {
    	font-size: 9pt;
    	font-style: italic;
    	padding: 10px;
    	background: @secondaryLightest url(@imagePath/xenforo/gradients/category-23px-light.png) repeat-x top;
    	border-radius: 5px;
    }
    
    The text editor background is in your:

    Admin CP -> Appearance -> Templates -> editor_contents.css

    Code:
    body {background:#FFF;}
    
     
    Alex Apple likes this.
  3. Alex Apple

    Alex Apple Member

    Brilliant - thank you.
     

Share This Page