Jump to content

sidebar widget


Drewfus
 Share

Go to solution Solved by Darth Vortex,

Recommended Posts

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

Link to comment
Share on other sites

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>

 

Link to comment
Share on other sites

  • Solution
<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

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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