Gabriel M
asked 6 years ago

I would like to place an ad image code that will appear only on mobile devices, above post titles, on single post pages.
 
How do I do this?

1 Answers
DominicStaff
answered 6 years ago

Apologies for the delay in replying to you.
To resolve this issue, you can open the content-single.php file in the folder path “wp-content\themes\dw-focus”. Find/add the following code underline 7:
See the screenshot: http://prntscr.com/57is3n

<img class="visible-desktop" src="FILE URL"/>

Note: You can add the image to the Media then copy File Url on the right hand side.
Hope this helps !

Powered by DW Question & Answer Pro