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.


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

| improve this answer | |

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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