Plugin Author
krozero
(@krozero199)
hi nozahon, you can either add css targeting widget-class or just wrap dynamic_sidebar inside another div and add css targeting that div. i.e
css:
.header-right-widget{
width: 100px;
float: right;
}
html:
<div class="header-right-widget"><?php dynamic_sidebar( 'header-widget' ); ?></div>
I am fairly new to wordpress and coding.
Can you please explain it to me step by step?
I just tried adding the CSS, but it’s not working…
Thanks!
never mind; it worked! Thanks!!!
hallo Krozero,
I’ve the same problem. I’m really liking this plugin, it’s very handy, but I can’t seem to shorten the widget. I tried the above steps you laid out, but it’s not working for me. I named my header-widget, HEADER. So of course I adjusted the text in the html to this:
<div class=”header-right-widget”><?php dynamic_sidebar( ‘header-widget’ ); ?></div>
and I tried some other combinations, but nothing changes for me.
Help please
kind regards