Support » Plugin: Image Widget » Border

  • There may be a better procedure for this, but after perusing various posts and seeing no answers, I figured that I’d post my ‘fix’ here. When I pull up the source of the rendered page, the widget gives the images a class related to their alignment (helpful). So for me the code on the page looks like this since I have them aligned right:

    <img src="someIMG.jpg" style="max-width: 150px;max-height: 150px;" class="alignright" alt="someIMG" />

    I then go into the style.css for my theme and find the style that I want to replicate, in this case the one used by ‘post-image’ and I add the class to the list like so:

    .post-image {
    	background-color: #f5f5f5;
    	border: 1px solid #ddd;
    	padding: 4px;

Viewing 1 replies (of 1 total)
  • . AlignRight,
    . Аватар,
    . Пост-образ {
    фонового цвета: # f5f5f5;
    границы: 1px твердых # DDD;
    обивка: 4px;

Viewing 1 replies (of 1 total)
  • The topic ‘Border’ is closed to new replies.