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

sharepoint 2013 Branding issue with Promotedaction

$
0
0

Hi,

I have a requirement where I need to add a menu to the RibbonContainer-TabRowRight.

I have added a UserControl and modified the code with the css 

<style type="text/css">
    .ms-promotedMenu-text ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .ms-promotedMenu-text li {
        float: left;
        width: 100px;
        background-color: #444444;
        text-align: center;
        ;
        line-height:30px;

    }
    .ms-promotedMenu-text a {
        text-decoration: none;
        color: white;
    }
    .ms-promotedMenu-text li ul li {
        float:none;
        width: 200px;
        text-align:center;
        padding-left:inherit;
        border-top:1px solid white; /*add margin*/
    }
    .ms-promotedMenu-text li ul{
        ;
        left:0;  
        visibility:hidden;  
    }
    .ms-promotedMenu-text li:hover ul {
        visibility: visible;
    }
    .ms-promotedMenu-text li :hover {
        background-color: green;
    }

</style>

       

<div class="ms-promotedMenu-text">
<ul>
    <li>
        <a href="#"> Home</a>
        <ul>
            <li><a href="#">SUB1</a></li>
            <li><a href="#">SUB2</a></li>
        </ul>
    </li>
</ul>

</div>

and added a element to target "Promotedaction"

<Control Id="PromotedActions" Sequence="66" ControlSrc="/_ControlTemplates/15/CustomSuite2/CustomSuiteTemplate2.ascx"/>

here comes the problem I have got the menu item below the Promotedactions and it's kindof invisible mode and my css script is not working there  and SYNC  and follow are also in invisible mode

as am new to designing am facing problem to solve this issue 

please help me out

BR,

:)

  



Viewing all articles
Browse latest Browse all 25064

Trending Articles