Okay
  Public Ticket #1494532
button width
Closed

Comments

  • MelchersIT started the conversation

    He I have my row set in three colums which each contain a button. I want the buttons to be the same width and the same space in between them. 

    Can you tell me where i can do this?

    I added a picture of how it is now. 

  •  8,441
    Tahir replied

    Hey Again,

    Unfortunately there is no such Option in the Page Builder and would likely require custom css to set the width to be the same .

    Be.st 


    ThemeNectar Support Team 

  • MelchersIT replied

    Can you tell me how i can do that? 

    Thankyou!

  •  8,441
    Tahir replied

    Hey,

    Please provide the page url so that i can write up the custom css for whats possible. Also set a extra class for that particular row so the css only applies to the button that are in that row .

    Be.st 



    ThemeNectar Support Team 

  • MelchersIT replied

    GOT THIST WORKING THANKS

  •  8,441
    Tahir replied

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    /* only work on the contact page button */
    .page-id-1169 a.nectar-button.medium.regular.accent-color.has-icon.regular-button {
        min-width: 98% !important;
    }
    body #page-header-bg h1 {
        font-size: 48px !important;
        line-height: 52px !important;
    }

    Thanks


    ThemeNectar Support Team 

  • MelchersIT replied

    This worked thankyou!

    Is it possible to place a widget at the top navigation menu bar? I have some code ( see below) and i want this to be a clickeble word in my menu. Now it is in the off canvas menu because there i can put widgets but my client rather would want it to be in the normal menu. 

    ---------------------------------------------


    <a href="#" onclick="doGTranslate('nl|en');return false;" title="English" class="glink nturl notranslate">English</a> 
    <style type="text/css">
    #goog-gt-tt {display:none !important;}
    .goog-te-banner-frame {display:none !important;}
    .goog-te-menu-value:hover {text-decoration:none !important;}
    .goog-text-highlight {background-color:transparent !important;box-shadow:none !important;}
    body {top:0 !important;}
    #google_translate_element2 {display:none!important;}
    </style>

    <div id="google_translate_element2"></div>
    <script type="text/javascript">
    function googleTranslateElementInit2() {new google.translate.TranslateElement({pageLanguage: 'nl',autoDisplay: false}, 'google_translate_element2');}
    </script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit2"></script>

    <script type="text/javascript">
    function GTranslateGetCurrentLang() {var keyValue = document['cookie'].match('(^|;) ?googtrans=([^;]*)(;|$)');return keyValue ? keyValue[2].split('/')[2] : null;}
    function GTranslateFireEvent(element,event){try{if(document.createEventObject){var evt=document.createEventObject();element.fireEvent('on'+event,evt)}else{var evt=document.createEvent('HTMLEvents');evt.initEvent(event,true,true);element.dispatchEvent(evt)}}catch(e){}}
    function doGTranslate(lang_pair){if(lang_pair.value)lang_pair=lang_pair.value;if(lang_pair=='')return;var lang=lang_pair.split('|')[1];if(GTranslateGetCurrentLang() == null && lang == lang_pair.split('|')[0])return;var teCombo;var sel=document.getElementsByTagName('select');for(var i=0;i<sel.length;i++)if(/goog-te-combo/.test(sel[i].className)){teCombo=sel[i];break;}if(document.getElementById('google_translate_element2')==null||document.getElementById('google_translate_element2').innerHTML.length==0||teCombo.length==0||teCombo.innerHTML.length==0){setTimeout(function(){doGTranslate(lang_pair)},500)}else{teCombo.value=lang;GTranslateFireEvent(teCombo,'change');GTranslateFireEvent(teCombo,'change')}}
    </script>

    ----------------------------------------------------------------------


  •  8,441
    Tahir replied

    Hey Again,

    No unfortunately you will have to edit the "header.php" file for it using a Child Theme .

    Be.st 


    ThemeNectar Support Team