{"id":5953929,"date":"2015-03-29T16:22:53","date_gmt":"2015-03-29T16:22:53","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/using-image-in-stylesheet\/"},"modified":"2016-08-22T19:09:15","modified_gmt":"2016-08-22T19:09:15","slug":"using-image-in-stylesheet","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/using-image-in-stylesheet\/","title":{"rendered":"using image in stylesheet"},"content":{"rendered":"<p>In my theme there is a code for blog posts slider, in a part of that is this code for thumbnail images that show in this slider:<\/p>\n<p>img {<br \/>\n                    position: relative;<br \/>\n                    z-index: 2;<br \/>\n                    display: block;<br \/>\n                    width: 200px;<br \/>\n                    height: auto;<br \/>\n                    @include float(left); \/\/ float: left;<br \/>\n                    @include margin-right(20px); \/\/ margin-right: 20px;<br \/>\n                    @include margin-left(-20px); \/\/ margin-left: -20px;<br \/>\n                }<\/p>\n<p>the problem is where it calls a 200px image in width but I wanna call the image that defined in functions.php with the name &#8220;horizontal-4&#8221;. how can I call that?<\/p>\n","protected":false},"template":"","class_list":["post-5953929","topic","type-topic","status-closed","hentry","topic-tag-css","topic-tag-image","topic-tag-thumbnail"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5953929","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/5953929\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=5953929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}