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.
<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.