I just wanted to have a horizontal bar with words at the bottom of the home page of the site collection.. How will I be able to do this? I didn't want to do it on the masterpages.

2 Answers 2


If you don't wanna use SPD, you can do it with some jQuery in a text file and connect it to a content editor webpart on the page.

<script src="../SiteAssets/jquery-3.1.1.min.js"></script>

<div id="Footer" class="s4-notdlg" style="background:black;color:white">This is a footer</div>

<script language="javascript" type="text/javascript">
$(document).ready(function() {
$( "#s4-workspace" ).append( $( "#Footer" ) );

I would then recommend to style the div "Footer" by using CSS instead as i did directly in the HTML.

enter image description here

  • Do I need to put use/put this in the cEwP? <script src="../SiteAssets/jquery-3.1.1.min.js"></script> Commented Jan 27, 2017 at 17:54
  • @PradeepKumar Yes, you will need to download a jquery library and store locally or use a jQuery from a CDN. Just grab the latest version and add to a library on the same site. jquery.com/download Commented Jan 28, 2017 at 6:38
  • sgryphon.wordpress.com/2014/05/16/… Commented Jan 28, 2017 at 6:45

Edit the page in SharePoint Designer, and you can add any style you want inline, since it should affect only one page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.