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

XF 1.3 Change background in Child styles.

Discussion in 'Styling and Customization Questions' started by PhantomOfNyx, Jun 21, 2014.

  1. PhantomOfNyx

    PhantomOfNyx Member

    Hey there, I'm currently planning on making sub themes of my main themes with different backgrounds in the XML is this
    <property property_name="html" property_type="css"><![CDATA[{"background-color":"rgb(0, 0, 0)","extra":"background-image: url(resources\/universal\/left.jpg), url(resources\/universal\/right.jpg), url(resources\/universal\/background.jpg);\nbackground-size:20% 100%, 20% 100%,100% 100%;\nbackground-attachment:fixed;\nbackground-position: left bottom, right bottom, center;\nbackground-repeat: no-repeat;"}]]></property>

    the only line I plan on changing in each Style, and the name.

    Could anyone please explain to me how I would go on making a child style with that string only I can import ( I presume this would heavily decrease load compared to loading the entire style in each time. )

    Thanks in advance.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    I'm not sure what you're asking.

    Create a child style and change the background as required.

    You don't need to export and import.

Share This Page