How can I customize the margins of my textwidget?

  • Onbekend's avatar

    Hi there,

    Recently I added a custom header widget area on my website (Minnow child theme). To the area I appointed a textwidget which, in combination with the Content Views plugin, shows my ‘featured’ posts.

    As I am not too happy with the standard margins of the textwidget, I tried to customize these through the google chrome ‘inspect element’ function. I.e.:
    1) right click on the textwidget area
    2) select the right widget class in the inspector (which corresponds to ‘textwidget’)
    3) use the + button in the ‘styles’ pane to enter a few lines of code for the desired margins:

    .textwidget {
    margin-top: 30px;
    margin-bottom: 80px;
    }

    So far, so good… after these steps the page shows the desired margins.
    However, I can’t seem to ‘save’ my changes. When I refresh the page my changes are lost.

    I also tried to enter and save the css-code in my child-theme style.css, but this seems to have no effect at all.

    Any advice on to how to make this work?

    Best!

    JC

    De blog waarbij ik hulp nodig heb is (alleen zichtbaar voor ingelogde gebruikers).

  • Het onderwerp ‘How can I customize the margins of my textwidget?’ is gesloten voor nieuwe reacties.