Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dia Mahmoud 25 posts 95 karma points
    Apr 18, 2018 @ 13:31
    Dia Mahmoud
    0

    Hallo Can anyone please help with this little issue I have on my website. I need to get the same text heading format allover. I wont to change the heading where is the big text "PISTON SEALS the red box" to be the same text format like the left side menu the yallow boxenter image description here.

    @inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ Layout = "umbLayout.cshtml"; var menuItems = CurrentPage.AncestorsOrSelf(2).First().Children.Where("hideInSideMenu == false"); }

        <section class="content-section">
            <div class="cols wrap clearfix competencies @(menuItems.Count() > 0 && !CurrentPage.hideSideMenu ? "" : "no-side-menu")">
                <nav class="side-menu">
                    @if(menuItems.Count() > 0 && !CurrentPage.hideSideMenu){
                        <h2 class="page-title">@CurrentPage.AncestorOrSelf(2).title</h2>
                    }
    
                    @{ 
                        if(!CurrentPage.hideSideMenu){
                            Html.RenderPartial("SideNav"); 
                        }
                    }
                </nav>
                <div class="cols__right w-870 clearfix">
                    <div class="post">
                        @if(CurrentPage.HasValue("postTitle")){
                            <h1>@Umbraco.Field("postTitle")</h1>
                        }
    
                        @*<div class="post__content customers">*@
                        @CurrentPage.Post   
                        @if(CurrentPage.HasValue("pictures")){  
                            <div class="pictures">
                                <div class="pictures_i clearfix">
                                    <p>
                                        @foreach (var pic in Umbraco.Field("pictures").ToString().Split(',').Select(x=>Umbraco.Media(int.Parse(x))))
                                        {                       
                                            <a href="@pic.Url" title="@pic.Name" class="image">
                                                <img src="@pic.Url" alt="@pic.Name" />
                                            </a>
                                        }
                                    </p>
                                </div>
                            </div>
                        }
                    </div>
                    <div class="column-240">
                        @if(CurrentPage.HasValue("name")){                      
    
                            <div class="contact-person">
                                <div class="contact-person_i">
                                    <h4>@Umbraco.Field("#ContactPersonTitle")</h4>
                                    @if(CurrentPage.HasValue("picture")){
                                        var dynamicMediaItem = Umbraco.Media(CurrentPage.picture);
                                        <img src="@dynamicMediaItem.umbracoFile" alt="@Umbraco.Field("name")"/>
                                    }
    
                                    <div class="decor decor_contact">
                                        <svg class="shape" height="100%" preserveaspectratio="none" version="1.1" viewbox="0 0 100 100" width="100%" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" >
                                            <path d="M0 0 L0 100 L60 0 Z" stroke-width="0"></path>
                                        </svg>
                                    </div>
                                </div>
                                <div class="text">
                                    <h3>@Umbraco.Field("name")</h3>
                                    <p>@Umbraco.Field("position")</p>
                                    <br/>
                                    @if(CurrentPage.HasValue("phone")){
                                        <p><a href="tel:@Umbraco.Field("phone")">@Umbraco.Field("phone")</a> <i class="fa fa-phone"></i></p>
                                    }
                                    @if(CurrentPage.HasValue("email")){
                                        <p><a href="mailto: @Umbraco.Field("email")  "> @Umbraco.Field("email") </a><i class="fa fa-envelope-o"></i></p>
                                    }
                                </div>
    
                            </div>
                        }
                        @if(CurrentPage.showPageQuote){
                            <div class="quote orange">
                                <span class="symb">“</span>
                                    @if(CurrentPage.HasValue("pageQuote")){
                                        <div class="quote__content">
                                            @CurrentPage.pageQuote
                                        </div>
                                    }else{
                                        <div class="quote__content">
                                            @CurrentPage.AncestorOrSelf(2).pageQuote
                                        </div>
                                    }
                            </div>
                        }
                        @if(CurrentPage.showPageComment){
                            <div class="comment">
    
                                @if(CurrentPage.HasValue("pageComment")){
                                    <strong>@CurrentPage.pageCommentAuthor</strong>
                                }else{
                                    <strong>@CurrentPage.AncestorOrSelf(2).pageCommentAuthor</strong>
                                }
    
                                @if(CurrentPage.HasValue("pageComment")){   
                                    @CurrentPage.pageComment
    
                                }else{
                                    @CurrentPage.AncestorOrSelf(2).pageComment
                                }
                            </div>
                        }
                        @if(CurrentPage.HasValue("videoUrl")){      
                            <a class="bordered-link popup-btn fancybox.iframe" href="@Umbraco.Field("videoUrl")">
                                <span class="title">@Umbraco.Field("#WatchVideoTitle")</span>
                                <i class="icon icon_video"></i>
                            </a>
                        }
    
                        @if(CurrentPage.showRightLogos){
                            <div class="logos">
                                @Umbraco.RenderMacro("Logos")               
                            </div>
                        }
                    </div>
    
                </div>
    
    
                <div class="decor decor_l-grey mobile-hide">
                    <svg class="shape" height="100%" preserveaspectratio="none" version="1.1" viewbox="0 0 100 100" width="100%" xmlns="http://www.w3.org/2000/svg">
                        <path d="M50 0 L0 100 L100 100 L100 0 Z" stroke-width="0"></path>
                    </svg>
                </div>
    
                @*<div class="decor decor_l-grey mobile-show">
                    <svg class="shape" height="100%" preserveaspectratio="none" version="1.1" viewbox="0 0 100 100" width="100%" xmlns="http://www.w3.org/2000/svg">
                        <path d="M125 0 L0 100 L100 100 L100 0 Z" stroke-width="0"></path>
                    </svg>
                </div>*@
    
    
                @Umbraco.RenderMacro("LogosPicker")
    
            </div>
                        @if(CurrentPage.HasValue("smallSlider")){
                    @Umbraco.RenderMacro("PostSlider")
                    @*<div class="small-slider">
    
                        @foreach (var image in Umbraco.Field("smallSlider").ToString().Split(',').Select(x=>Umbraco.Media(int.Parse(x))))
                        {                       
    
                            <img src="@image.Url" alt="@image.Name" />
    
                        }
    
                    </div>*@
                }
        </section>
    
        @if(CurrentPage.HasValue("postLeft") || CurrentPage.HasValue("postRight")){
            <section class="full-details">
                <h2 class="full-details__title"><span>@Umbraco.Field("#FullDetailsTitle")<i class="fa fa-chevron-down"></i></span></h2>
                <div class="cols wrap clearfix">
                    @if (CurrentPage.HasValue("postMainTitle"))
                    {
                        <h3 class="post-main-title">@Umbraco.Field("postMainTitle")</h3>
    
                    }                    
                    <div class="cols__left w-570">
                        <div class="post">
                            @Umbraco.Field("postLeft")
    
  • Mila Pandurska 43 posts 190 karma points
    Apr 18, 2018 @ 19:21
    Mila Pandurska
    0

    Hi, Dia, I am not sure what is the issue - is it css styling?

    Mila

  • Dia Mahmoud 25 posts 95 karma points
    Apr 19, 2018 @ 07:19
    Dia Mahmoud
    0

    Hi Mila, Yes it is the text styl, I mean. and in the same time want to keep the orange color. Can you please help?

Please Sign in or register to post replies

Write your reply to:

Draft