• Resolved basdemos

    (@basdemos)


    First of all, love the plugin! My question: I’ve managed to put the widget in the title area of my site with the help of my theme’s authors, and was able to move it to the right with CSS. Now I’m trying to get some padding between the flags as they’re stuck together. I tried the following code in my custom .css file:

    .transposh_flags a span, .transposh_flags a img{
    padding-right= 2px;}

    But that didn’t do anything. Is there a solution? My site:

    Regards,
    Bas

    https://wordpress.org/plugins/transposh-translation-filter-for-wordpress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author oferwald

    (@oferwald)

    Hi,

    .transposh_flags a span, .transposh_flags a img {
    border-color: transparent;
    border-radius: 0;
    border-style: solid;
    border-width: 1px 3px;
    box-shadow: 0 0;
    padding: 2px;
    }

    Works as expected when changing in the widget .css file

    however, you probably want to use the !important keyword…

    Thread Starter basdemos

    (@basdemos)

    Got it to work, thank you!

    Regards,
    Bas

    If you want it to have some kind of effect try this:

    .transposh_flags a span, .transposh_flags a img {
        border-color: transparent;
        border-radius: 0;
        border-style: solid;
        border-width: 2px;
        border-style: dotted;
        box-shadow: 0 0;
        padding: 8px 6px;
    }
    .transposh_flags a span, .transposh_flags a img:hover {
        border-color: white;
    }

    It has a nice white dotted line around the flags when the mouse is over them – and – has some spacing in between

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS for custom plugin location’ is closed to new replies.