Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16066

    Hiya,

    How would I go about changing the widget sidebar separator to the one with the flag?

    Thanks in advance.

    -Alex

    #90010

    Hi,

    You can edit includes > admin > register-widget-area.php and find lines with this code.

    'after_widget' => '<span class="seperator extralight-border"></span></div>',

    You may want to replace it with the html tag for the flag border.

    <div class='post-format primary-background flag'>
    <span class='post-format-icon post-format-icon-'></span>
    <span class='flag-diamond site-background'></span>
    </div>

    You need to adjust some css styling on custom.css.

    Regards,

    Ismael

    #90011

    Thanks.

    I’m getting some code errors in dreamweaver when i do that?

    Which bits of exact code should i be replacing?

    -Alex

    #90012

    Hi,

    The original line above that Ismael posted.

    'after_widget' => '<span class="seperator extralight-border"></span></div>',

    should be replaced with the code below:

    'after_widget' => '<div class="post-format primary-background flag">
    <span class="post-format-icon post-format-icon"></span>
    <span class="flag-diamond site-background"></span>
    </div></div>',

    If at a later time you want to edit it yourself to include a completely different divider , the only parts that must be left unchanged are illustrated below with XXX representing the location where you would add your own code for the divider.

    'after_widget' => 'XXX</div>',

    Thanks,

    Nick

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Change Widget Seperator to the Flag one.’ is closed to new replies.