Select Page

If you want to display Adsense or other banner on the left sidebar in the Divi theme here is how you can do this.
Divi doesn’t provide non-program way to display left sidebar. Lets start with this.
 

Adding widget

Go to Dashboard -> Appearance -> Widgets where you can see ET Adsense Widget. Drag and drop it onto Sidebar

Sidebar: Elegant Themes Adsense widget
Put your code inside Adsense Code text field. Write the title your wish into Title text field. Sadly if you wish no title you can’t just clear Title field. Divi will display default title ‘Adsense’ above your banner in this case. To remove title you need to add

to ePanel Custom CSS or to your child theme’s CSS file.
 

Expand Adsense Widget

If your Adsense widget wider than sidebar your can add next CSS to expand it

 

Left sidebar

Theres is no user friendly way in Divi to move sidebar to the left for all posts. You can do it only for each post. The solution is good describing by Daniel Pataki in this article. We have to add hook to functions.php in our child theme

 

Expand left sidebar

Now we have our adsense widget on the left sidebar but part of it laid over main content.
adsense widget overlap border
To correct this we have to add next CSS(supposing that we have 240px width Adsense widget)