Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
1.3k views
in Q2A Core by

When linking in the Defaul theme qa-styles.css to an external site, all is well:

.qa-header {position:relative;background:url('http://www.portaloha.com/SecretsOfHawaii/images/Lanikai/Kailua1.jpg');}

but when entering a path to a local image it doesn´t work. Just don´t get it. 

Logo files under Admin > Layout > Show a logo image in the page header aren´t visible and the page title disappears.

Q2A version: v1.5

1 Answer

0 votes
by

The path is relative to the stylesheet itself, which is in qa/qa-theme (assuming Q2A is in the subfolder qa). So if the image is in the same folder as the stylesheet just put url("header.jpg")

You can also start the path with a slash which makes it relative to the domain, for example: url("/images/header.jpg")

...