Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How to display image to the right of the page's title breadcrumb

$
0
0

Hi all,

I would like to display my company's logo to the right of the title breadcrumb on a page. To add the logo and put it on the right side of the page, I created an image viewer web part and right-aligned the image using the web part settings.

Then, to move the logo up so that it's displayed directly to the right of the title breadcrumb rather than below it, I added a CEWP to the page with the code below setting the margins of the image to negative so that it would move up parallel to the title breadcrumb. But no matter how much I change the margins, -50, -100, etc. the image always displays a bit below the title breadcrumb. The code is definitely working (it moves the image up) but there is some kind of barrier between the body of the page and the title breadcrumb area that the image viewer web part cannot cross.

#MSOZoneCell_WebPartWPQ3 {margin-top: -50px !important}

Is there a way around this? For example rather than adding an image viewer web part, can I add code to display the image right-aligned in the title breadcrumb zone/section? Thank you as always for your help guys, this forum is the best!



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>