Jump to content

sidebar widget


Go to solution Solved by WP V0RT3X,

Recommended Posts

Posted

I was wondering if there is a way to put color in the background of a custom widget side bar block not all blocks just one block?

I put image in see how the image doesn't fill the block I want to add background color is it possible and how ?

Firefox_Screenshot_2020-08-28T14-34-10.190Z.png

Posted

could you give an example I am not very good with codes I have the code in the widget block in content

<script type="text/javascript" src="//rf.revolvermaps.com/0/0/1.js?i=5kq2jkw49ng&amp;s=220&amp;m=0&amp;v=false&amp;r=false&amp;b=000000&amp;n=false&amp;c=ff0000" async="async"></script>

 

  • Solution
Posted
<style>
  .revolvermaps {
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
  }
</style>
<div class="revolvermaps">
  <script type="text/javascript" src="//rf.revolvermaps.com/0/0/1.js?i=5kq2jkw49ng&amp;s=220&amp;m=0&amp;v=false&amp;r=false&amp;b=000000&amp;n=false&amp;c=ff0000" async="async"></script>
</div>

 

before.png

after.png

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...