Viewing 30 results - 84,061 through 84,090 (of 142,828 total)
  • Author
    Search Results
  • #750245

    an update on this as I use AdSense on a blog http://www.bigboytravel.com with Enfold which gets 600,000 monthly visitors and it works great.

    I also recommend using a series of shortcodes for your add units which you can customize on the backend functions.php quickly to change them site wide. There have been times where new versions of WordPress have blocked AdSense script and without custom shortcodes I would have had a headache.

    float right in text example with custom shortcode of wp_ad_camp_1/

    function tall_r_shortcode() {
    ?>
       <div style=" float: right; margin: 5px; ">
       <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
       <!-- 300x600 Content -->
       <ins class="adsbygoogle"
           style="display:inline-block;width:300px;height:600px"
           data-ad-client="ca-pub-3xxxxxxxxxxxxxx"
           data-ad-slot="xxxxxxxx2"></ins>
       <script>
       (adsbygoogle = window.adsbygoogle || []).push({});
       </script>
       </div>
    <?php
    }
    add_shortcode('wp_ad_camp_1', 'tall_r_shortcode');

    can center a variation easy also

    function medium_m_shortcode() {
    ?>
       <center><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
       <!-- 336x280 Content -->
       <ins class="adsbygoogle"
           style="display: block; float: center; width: 336px; height: 280px;"
           data-ad-client="ca-pub-3xxxxxxxxxxx"
           data-ad-slot="xxxxxxxxxx4"></ins>
       <script>
       (adsbygoogle = window.adsbygoogle || []).push({});
       </script></center>
    <?php
    }
    add_shortcode('wp_ad_camp_5', 'medium_m_shortcode');

    Keep in mind that if the code code is meant to by used at html or script you must open it with ?> and close it with <?php inside the function. If it is just live text fo some reason you don’t need to do that.

    Also a worth noting that doing short codes this way forces the Ad Unit to the top of the container it sits in although it does maintain it’s float, alignment, and padding. That means if you have a long article and want multiple Ads you need to break the page/content into multiple Color Sections or Grid Rows to avoid having all the Ads push to the top of the page. It’ll make sense when you try it, but is an easy fix.

    Hope that helps others
    Jon

    #750235

    Topic: Enfold Menu issues

    in forum Enfold
    JAIBRAR
    Participant

    hi i am using one page menu here on http://mcitycondospro.com/

    but when navigated to another section, all the menu links get highlighted.
    http://www.awesomescreenshot.com/image/2201732/f3ef76c5c9182b47facbd1e9364edd29

    i know there is solution for this to add links like #about instead of http://mcitycondospro.com/#about. But i want to use mixed use of links, for ex. an VIP ACCESS REGISTRATION button on the top opens on different page

    Thanks..

    #750230

    PS Based on another thread I saw from Yigit, I made sure the url is full length and still lightbox only opens in mobile, not in desktop:

    Thanks!!!!

    #750225
    frnlnz
    Participant

    hi, the theme works very well but there is only a thing that i can’t fix:
    I’ve created a page with a layer slider video at the top of the page, it works very well but in chrome it doesn’t appear
    thanks for support :)

    #750201

    Hi Andy,

    okay, I just figured it out. It’s a problem with the enfold child theme and the functions.php in the child theme. Don’t know why but with renamed functions.php (to functions.old) everything is fine. Also with enfold main theme. But it an empty functions.php exists in the child theme folder the topic description isn’t visible. All plugins are working properly – so it seems to be related to the child theme.

    Do you have a solution for this issue? I would like to use the child theme because of theme updates.

    Thanks & best regards,

    Jannik

    #750173
    tremblayly
    Participant

    Hi

    My client asked to add share buttons on the single product page. I found this thread: https://kriesi.at/support/topic/social-share-buttons-product-page/

    I added the code to my functions.php file and see the share buttons. However, I don’t get the text heading. Here’s what I have added to my functions.php file:

    // add social share buttons on single product page
    add_action(‘woocommerce_after_single_product_summary’, ‘avia_add_social_toolbar’, 1);
    function avia_add_social_toolbar()
    {
    if( is_singular( ‘product’ ) ) {
    $content = ‘<div class=”share_heading”>Share this Product</div>’;
    $content .= avia_social_share_links(array(), false, ”, false);
    $content .= ‘<div class=”hr”></div>’;
    }
    echo $content;
    }

    Did I miss something and that’s why the heading is not showing?

    Thanks
    Lyse

    #750172

    After installing WP smush I got it down to 34K but I still don’t understand why it doesn’t use my 27k version and makes a new bloated copy? Any way of stopping the layerslider of doing that?

    Cheers,

    #750161
    kghorbani
    Participant

    I found a piece of custom CSS code to bottom align the Read More button at the end of a blog post grid etc.

    .html_elegant-blog .avia-content-slider .slide-entry-title {
        min-height: 230px;
        overflow: hidden;
    }
    

    The problem is that on my home page (http://dev.watchdetail.com where I have one featured Blog Slider up top and then a grid of blog posts at the bottom, it aligns both of them which makes it very weird. Is there a code I can put in that will just align the post grid ones and leaves the top part alone?

    Thanks

    #750153
    Itai
    Participant

    Hello,

    I’m trying to get my homepage to load faster by optimizing my layerslider images: http://heaven11audio.com/

    When I upload an optimized version, it’s 27k in the media library: image

    But when it appears on my homepage, the same image gets ballooned to 51k!!!! layerslider version

    What can I do to stop this and preserve all my hard work of optimization?

    Thanks guys,

    #750152

    Update: Please disregard and close the topic. I spoke to a designer friend of mine who is familiar with Enfold who said plugins like Akismet and others don’t come with the theme. She has to install individually, so that’s what I’ll do. In regards to the color scheme issue, I resolved by deleting my cache. Thank you and sorry for the inconvenience.

    #750147

    Topic: Remove Dates

    in forum Enfold
    SheriG
    Participant

    Hello there,

    I love Enfold! It makes me appear to be a top-notch web designer! Love it!

    I have a blog date-display question:
    As far as I can see, I have chosen to hide the date of my blog posts. I am using the masonry gallery to display the blog posts on my landing page. I have clicked the ‘display title’ option. I only want the title to display on my blog featured images, but the date appears there, also. I would like to remove the date but keep the title. How can I do that?

    Thanks!
    Sheri
    x

    #750120

    Hi

    I found a way of doing this, using this code: http://stackoverflow.com/questions/34641322/how-do-i-move-the-woocommerce-sidebar-to-be-above-the-shop-items-so-that-it-is-a

    It currently looks like this:

    http://corrvintagewatches.com/cvw/shop/

    It works ok on desktop, but at lower screen sizes the watches drop to the bottom of the page. Could you recommend a way to make the columns switch from 4 to 3 sooner? Or another way to make this work? Many thanks.

    #750111

    The feature was already added to Enfold to display pan control, but stopped working recently.

    #750099

    Hi Andy!
    Actually no, i just replaced one of the masonry gallery for a single image mergind all the four. If you scrolldown de mobile site you will still see the “error” (ok is not an error, but my client want it in mobile version as is in desktop).

    Please help me!

    #750095

    Hi Yigit,

    No further questions for now.
    Can you please flag this topic as closed?

    Thanks & have a nice day!

    Regards,
    Monique

    #750084

    Hi,

    you can adjust it using CSS code:

    #top #main .sidebar {
    width: 30%;
    }
    #top .sidebar_left .content {
    width: 64%;
    }

    Adjust as needed.

    Best regards,
    Andy

    • This reply was modified 9 years ago by Andy.

    Hi,

    I think this workaround should help: https://kriesi.at/support/topic/blog-pagination-6/#post-249965

    Best regards,
    Andy

    #750054
    Cliffy
    Participant

    Hi, I have a site with a location map in the left sidebar. Each time I scroll down the page my cursor lands on the map and the scrolling of the page stops and I find myself zooming in on the map.

    Is there an easy solution to this? Can’t we have a checkbox in the sidebar settings as we do for a full-width map?

    The only solution I could find was this: https://kriesi.at/support/topic/disable-scroll-in-google-maps-widget/

    This looks complicated. Can you make it simple for a simple user? :)

    Thanks,
    H

    #750052

    Hi Andy,

    nope, sorry. It’s not working because the text at the attached link is an additional reply and not the topic description. I’ve just deleted the reply and now the text isn’t visible as in the other topics.

    I also tried deactivating caching plugins, but this isn’t working. Maybe you have another idea?!

    Best regards,

    Jannik

    #750020

    Hey Tom,

    Your page requires a password :)

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    #top textarea {
        max-height: 100px;
    }
    #top .input-text, #top input[type="text"], #top input[type="input"], #top input[type="password"], #top input[type="email"], #top input[type="number"], #top input[type="url"], #top input[type="tel"], #top input[type="search"], #top textarea, #top select { 
        font-size: 16px;
    }
    

    Best regards,
    Yigit

    #749999
    AdrianSmithUK
    Participant

    Hi

    I’ve pasted a link in the private section below. Notice that the tags are stripped in the preview snippet for the top two posts but the third one down passes the h1 tag into the preview snippet. What’s wrong? How can I get them all to behave the same way?

    #749994

    Hey!

    Please add following code to Quick CSS

    #top .main_menu {
        border: none;
    }
    .avia-menu.av_menu_icon_beside {
        border-right-style: dashed;
    }

    Cheers!
    Yigit

    #749992
    fullrotation
    Participant

    Hi, I just changed my mobile header to transparent, but after I did this any text I had in color sections below jumped up and moved under the header, so the logo and menu overlap and sit on top? Please see screenshot.
    Mobile header problem image

    I tried code from other posts to add padding to the logo I also tried adding margin and padding to bottom of the mobile header like this

    @media only screen and (max-width: 768px) {
    #top #wrap_all .av_header_transparency, .av_header_transparency #advanced_menu_toggle {
      background: transparent!important;
      position: absolute!important;
    padding-bottom:  50px important;
     margin-bottom:  50px important;
      }
     }
    }

    but nothing worked.

    In the end I had to hack it by creating a custom class and adding massive padding-top to the special headings,

    .mobileheaderfix .av-special-heading-tag{
    padding-top: 75px !important;
    }

    but this is not ideal and more work as I have to add it to all headings on all pages.
    Is there just one class or bit of code I can simply just add to the mobile header instead?
    Many thanks

    #749969

    Hey Cmpannuk,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    .html_header_top.html_header_sticky #main {
        padding-top: 129px !important;
    }
    

    Best regards,
    Yigit

    Hi Ben,

    I believe this one is resolved now – https://kriesi.at/support/topic/how-to-remove-text-menu-above-the-main-menu/ :)

    Best regards,
    Yigit

    #749952

    Hi,

    Sorry for the late reply!
    Please go to Appearance > Editor and open functions-enfold.php file and find

    
    		if(!empty($link) && !empty($title)) $title = "<a href='".$link."' rel='bookmark' title='".__('Permanent Link:','avia_framework')." ".esc_attr( $title )."' $markup>".$title."</a>";

    and change it to

    
    		if(!empty($link) && !empty($title)) $title = "<a href='".$link."' rel='bookmark' title='".__('','avia_framework')." ".esc_attr( $title )."' $markup>".$title."</a>";

    Then Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    .title_container .main-title a {
        top: 3px;
        position: relative;
    }
    

    Best regards,
    Yigit

    #749930
    #749923

    Shalom!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    @media only screen and (max-width: 767px) {
    .responsive #top .cart_dropdown {
        right: 65%;
    }}

    Regards,
    Yigit

    #749921

    Hi!

    Please go to Appearance > Menus and click “Screen options” on the top right corner and check “link target” and then click on your menu item and choose to open it in a new window

    Regards,
    Yigit

    #749917

    In reply to: Child Main Menu

    Yes so basically the top of the site doesnt appear, it looks empty.
    After some scrolling it appears.
    But no one will scroll down an empty looking site, people will close it….
    The first item is a picture, if we could see it.
    And the menu, if we could see it.

Viewing 30 results - 84,061 through 84,090 (of 142,828 total)