Home Page - Layout Assistance
One of the home page layout options has Featured and Popular Articles under the Search bar. Below that are Top Requests and My Favorite Requests. We'd like to move Top and Favorite Requests up and under the Search bar and push the Featured and Popular Articles to the lower half. Any ideas if this is possible? If not possible, does anyone know if we can hide the Popular/Featured Articles? Thanks in advance! JV
Best Answer
-
Konstantin_Slavin-Bo Customer Ninja IT Monkey ✭✭✭✭Unfortunately, I can't find a way to switch the two divs. It should be simple to do like this:
$(document).ready(function (){<br> if (document.URL.indexOf("ServiceCatalog/Listing/#") === -1) {<br> return; <br> }<br><br> var kbList = $('.sc-page-header.sc__home-kb-lists.row');<br> var roList = $('.sc-page-header.sc__home-ro-lists.row');<br><br> roList.after(kbList);<br><br>});
But it doesn't work, because it takes some time for the content to load, and I can't find any event or anything to listen to. If someone know a way, you will be able to do it with the above code. But for now, you'll have to settle with hiding the article lists. by adding this to theCustomSpace\custom.css
file:.sc__home-kb-lists {<br> display: none;<br>}
5
Answers
But it doesn't work, because it takes some time for the content to load, and I can't find any event or anything to listen to. If someone know a way, you will be able to do it with the above code. But for now, you'll have to settle with hiding the article lists. by adding this to the
CustomSpace\custom.css
file: