[Solved] Please help me on this javascript [closed]

You need to match the number inside with something like: replace(/\/s[0-9]+\//, ‘/s’ + image_size + “https://stackoverflow.com/”) Here’s an example: http://jsfiddle.net/nfDea/ Another option is to capture the beginning and end only, in order to concatenate: replace(/(\/s)[0-9]+(\/)/, “$1” + image_size + “$2”); http://jsfiddle.net/nfDea/1/ If you are actually referring to a variable called uh, then you need to … Read more

[Solved] Add headers h1, h2, h3 (Contempo)

You’re right that the page should not contain two h1 elements. Go to Header1 widget in your template and replace this: <b:include name=”super.title”/> With: <b:if cond=’data:view.isSingleItem’> <h2 class=”title”> <a expr:href=”https://stackoverflow.com/questions/43148424/data:blog.homepageUrl”> <data:title/> </a> </h2> <b:else/> <h1 class=”title”> <a expr:href=”https://stackoverflow.com/questions/43148424/data:blog.homepageUrl”> <data:title/> </a> </h1> </b:if> 5 solved Add headers h1, h2, h3 (Contempo)