Branding Problem SP2013 – Snippets
My problem is that even though I have added a custom css class tags assigned to a snippet during the customization tasks in the design manager, styles I apply in my Style sheet do not seem to be applied.
Steps Taken
- Verified using IE Dev tools that I can see my custom style sheet is being referenced in other spots
- Style sheets, page layouts, and master pages have had major versions published
- custom css class is being transferred to snippet code into page layout
Any ideas on what I may be experiencing?
Thanks
-schuess
<div class=”pageImage”>snippet</div> — This works.
Original but edit Style sheet with .pageImage img {float:left;} — Doesn’t work
add the class=”pageImage” to the snippet not using cssClass? — Doesn’t work, error:
Sorry, something went wrong Type ‘Microsoft.SharePoint.Publishing.WebControls.RichImageField’ does not have a public property named ‘class’.
——————-
So i guess as a work around i can surround my snippets with the classes that i want applied.
I just don’t understand why customizing the snippet with a class does not work.
-thanks