Forum Replies Created

Viewing 30 posts - 1 through 30 (of 934 total)
  • Author
    Posts
  • in reply to: Menu font color & Background #1360502

    Hi Rikard,

    Thanks. I try to change php version to 7.0 but then I get critical error and can’t access the site. I disable all plugins and only have 3 active so I don’t think is a plugin issue.
    I can’t add the plugin you recommended as it need php version 7.0

    What could be wrong?
    Charlotte

    in reply to: Menu font color & Background #1360291

    Hi there,

    I have added the private token and check manually for theme update but get this reply:
    Your themes are all up to date.

    What is wrong?

    Thanks.
    Charlotte

    in reply to: Menu font color & Background #1360282

    Thanks :)

    in reply to: Menu font color & Background #1360262

    Hi,
    thanks.
    I change the menu color in Enfold->General Styling, or Enfold->Advanced Styling but it is still black.

    2. My other question. How do I change the white background behind Projects and You are here to #f4ebdb?

    Cheers
    Charlotte

    in reply to: Change logo #1327924

    Ok, thanks I will try this.

    I don’t know where the header is hiding. Can you see by the code?

    Best regards
    Charlotte

    in reply to: Clone single Page from one site to another #1327398

    Great, thanks :)

    in reply to: Clone single Page from one site to another #1327290

    Hi,
    thanks but there is no if(isset($avia_config[‘use_child_theme_functions_only’])) return; in the functions.php file.

    Se all the code below:
    <?php

    /**
    * Add your own functions here. You can also copy some of the theme functions into this file.
    * WordPress will use those functions instead of the original functions then.
    *
    * Remove the comments before or around the sample functions and code to use theme.
    * @link http://kriesi.at/documentation/enfold/using-a-child-theme/
    */

    /**
    * Add filter to add or replace Enfold ALB shortcodes with new folder contents
    *
    * Note that the shortcodes must be in the same format as those in
    * enfold/config-templatebuilder/avia-shortcodes
    *
    * @link http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/
    */

    add_filter(‘avia_load_shortcodes’, ‘avia_include_shortcode_template’, 15, 1);
    function avia_include_shortcode_template($paths)
    {
    $template_url = get_stylesheet_directory();
    array_unshift($paths, $template_url.’/shortcodes/’);

    return $paths;
    }

    /**
    * Turn on Custom CSS Class field for all Avia Layout Builder elements
    * @link http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
    */
    //add_theme_support(‘avia_template_builder_custom_css’);

    /**
    * Remove the Import dummy data button from theme options
    * @link http://kriesi.at/documentation/enfold/remove-the-import-dummy-data-button/
    */
    //add_theme_support(‘avia_disable_dummy_import’);

    /**
    * Enable Avia Layout Builder Debug
    * @link http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
    */
    add_action(‘avia_builder_mode’, “builder_set_debug”);
    function builder_set_debug() {
    return “debug”;
    }

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Prata’] = ‘Prata:400’;
    $fonts[‘Francois One’] = ‘Francois One:400’;
    $fonts[‘Open Sans’] = ‘Open Sans:300,400,600,700’;
    $fonts[‘Alegreya’] = ‘Alegreya:400,700’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Prata’] = ‘Prata:400’;
    $fonts[‘Francois One’] = ‘Francois One:400’;
    $fonts[‘Open Sans’] = ‘Open Sans:300,400,600,700’;
    $fonts[‘Alegreya’] = ‘Alegreya:400,700’;
    return $fonts;
    }

    add_filter(“kriesi_backlink”,”new_nolink”);
    function new_nolink(){
    $kriesi_at_backlink = “”;
    return $kriesi_at_backlink;
    }

    add_filter( ‘avf_modify_thumb_size’, ‘enfold_customization_modify_thumb_size’, 10, 1 );
    function enfold_customization_modify_thumb_size( $size ) {
    $size[‘masonry’] = array(‘width’=>1500, ‘height’=>250);
    $size[‘entry_without_sidebar’] = array(‘width’=>1210, ‘height’=>1210 , ‘crop’ => false);
    return $size;
    }

    function av_title_sc( ){
    $output = “<h1 class=’page-title’>”. get_the_title() .”</h1>”;
    return $output;
    }
    add_shortcode( ‘av_page_title’, ‘av_title_sc’ );

    function av_author_sc(){
    $current_user = wp_get_current_user();
    $output = “<h6 class=’ra-author’>AN ARTICLE BY ” . $current_user->user_firstname . “</h6>”;
    return $output;
    }
    add_shortcode(‘av_author’,’av_author_sc’);

    function av_excerpt( ){
    $excerpt = get_the_excerpt( $post );
    $output = “<span class=’related-excerpt’>”.$excerpt.”</span>”;
    return $output;
    }
    add_shortcode( ‘av_post_exc’, ‘av_excerpt’ );

    function avia_post_created(){
    $output = “<span class=’post-date’>”. get_the_date( $format, $post_id ) .”</span>”;
    return $output;
    }
    add_shortcode( ‘avia_created’, ‘avia_post_created’ );

    add_action( ‘after_setup_theme’, ‘ava_enfold_builder_layout_mod’ );
    function ava_enfold_builder_layout_mod(){
    add_filter(‘avf_builder_elements’, ‘avf_enfold_builder_layout_settings_mod’);
    }

    function avf_enfold_builder_layout_settings_mod($elements)
    {
    $counter = 0;
    foreach($elements as $element)
    {

    // Layout > Header visibility and transparency
    if($element[‘id’] == ‘header_transparency’) {
    /**
    *
    * Available Options
    * No transparency =
    * Transparent Header = ‘header_transparent’
    * Transparent Header with border = ‘header_transparent header_with_border’
    * Transparent & Glassy Header = ‘header_transparent header_glassy ‘
    * Header is invisible and appears once the users scrolls down = ‘header_transparent header_scrolldown ‘
    * Hide Header on this page = ‘header_transparent header_hidden ‘
    * MOD: Set the Layout > Header visibility and transparency settings to “Hide both”Header is invisible and appears once the users scrolls down”
    *
    **/
    $elements[$counter][‘std’] = ‘header_transparent’;
    }

    $counter++;
    }
    return $elements;
    }

    function av_single_fo(){
    ?>
    <script>
    var header = jQuery(“.single-post #main .avia-section .content”);
    jQuery(window).scroll(function() {
    var scroll = jQuery(window).scrollTop();

    if (scroll >= 250) {
    header.addClass(“single-header”);
    } else {
    header.removeClass(“single-header”);
    }
    });
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘av_single_fo’);

    add_filter( ‘style_loader_src’, ‘t5_remove_version’ );
    add_filter( ‘script_loader_src’, ‘t5_remove_version’ );

    function t5_remove_version( $url )
    {
    return remove_query_arg( ‘ver’, $url );
    }

    function raboff_custom_checkbox(){
    ?>
    <script>

    jQuery(window).load(function(){
    jQuery(‘h2.avia-caption-title’).after(‘<p class=”close-caption”> </p>’);
    jQuery( “.close-caption”).click(function() {
    var closeTheCap = jQuery(this).closest(“.slideshow_align_caption”);
    closeTheCap.hide(“slow”);
    });
    });

    jQuery(window).scroll(function(){
    var numberNotChecked = jQuery(‘fieldset.alacarte-form input:checkbox:not(“:checked”)’).length;
    console.log(numberNotChecked, “Hello, world!”);

    if (numberNotChecked >= 16) {
    jQuery(“.one-day”).addClass(“p-highlight”);
    }
    else {
    jQuery(“.one-day”).removeClass(“p-highlight”);
    }

    if (numberNotChecked <= 15 && numberNotChecked >= 8 ) {
    jQuery(“.two-day”).addClass(“p-highlight”);
    }
    else {
    jQuery(“.two-day”).removeClass(“p-highlight”);
    }

    if (numberNotChecked <= 7 ) {
    jQuery(“.three-day”).addClass(“p-highlight”);
    }
    else {
    jQuery(“.three-day”).removeClass(“p-highlight”);
    }

    });
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘raboff_custom_checkbox’);

    function avia_add_custom_social_icon($icons) {
    $icons[‘Turning Torso’] = ‘turning_torso’;
    return $icons;
    }
    add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);

    in reply to: Clone single Page from one site to another #1327168

    Mike,
    You’re assuming I know more than I do. :-)

    Where do I find the functions.php?

    Thanks,
    Charlotte

    in reply to: Clone single Page from one site to another #1326976
    This reply has been marked as private.
    in reply to: Don't show featured image in blog post #1309692

    Hi there,
    no that is not visible in my website anymore. I don’t know what happen in the theme but it’s just says featured image.

    in reply to: Update icons #1308560

    Thanks Ismael :)
    I found the code now in the functions.php file

    Cheers

    in reply to: Update icons #1308289

    Thanks Ismael but where is the 1/4 column located? It’s not on the front page and I can’t remember how it was done…
    Can you login?

    Thanks :)

    in reply to: Background color for caption #1292712

    If you have a large website done with enfold it’s very difficult to change it to Divi. As far as I can see Divi is the future.
    So many times I had to post in this forum for simple changes that I can do so easy myself in Divi. And you have awesome video tutorials that you can access when you are in editing mood. The support here have been most of the time good but it takes many hours, or even days to get a reply. Divi chat support replies within an hour and you can attach screenshots! In this support forum you need to upload an image to your website and then add the link to the forum, not very efficient!
    I found it very easy to add an image to Divi.

    in reply to: Background color for caption #1292688

    Thanks:)

    Just a curious question, I have been using the amazing Divi them on another website and everything else feels now very limited.
    Does Enfold have any plans for making the theme similar, with all the great features that Divi have and that you can work in front end, not back end. That’s a game changer ;)

    in reply to: Advance setting Button #1262429

    Problems solved!

    in reply to: Icon boxes #1256983

    Thank you so much Nikko :)

    Best regards
    Charlotte

    in reply to: Icon boxes #1256903

    Help…
    The icon boxes where duplicate on the main page so I delete the original ones, not a good idea.

    http://www.hotelladdict.se

    I don’t understand how to reactivate them in the Performance settings. Can you login and help me, thanks,

    And also help me change so there is not duplicate icons on the main page.

    Best regards
    Charlotte

    in reply to: Icon boxes #1256845

    Thanks Nikko,
    Much better :) but on mobile it looks the same and I have empty cache.

    I just want to get rid of the dotted lines that appear on the Category pages-
    https://www.hotelladdict.se/category/danmark/

    Cheers
    Charlotte

    in reply to: Icon boxes #1256775

    Thank you so much :))

    Can I add some code so it will have the same padding as the original one : http://www.hotelladdict.se/

    Also delete the dotted line that appears on the category pages: https://www.hotelladdict.se/category/danmark/

    Best regards
    Charlotte

    in reply to: Icon boxes #1256736

    Thanks Nikko :)

    in reply to: Icon boxes #1256717

    Thanks Nikko, like this:
    and how do add the rest of the code for the 3 other icon boxes?

    function enfold_after_main_container() {
    echo do_shortcode(“[av_icon_box icon='ue821' font='entypo-fontello' title='Boka hotell' position='left' icon_style='' boxed='' font_color='' custom_title='' custom_content='' color='custom' custom_bg='#f7f1e4' custom_font='#5fa5b7' custom_border='#f7f1e4' custom_title_size='' av-medium-font-size-title='' av-small-font-size-title='' av-mini-font-size-title='' custom_content_size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' heading_tag='' heading_class='' link='manually,https://www.hotelladdict.se/boka-hotel/' linktarget='' linkelement='both' id='' custom_class='' av_uid='av-k64vcr3y' admin_preview_bg=''][/av_icon_box]“);
    }
    add_action(‘ava_after_main_container’, ‘enfold_after_main_container’);

    Best regards
    Charlotte

    in reply to: Suddenly can't update a page – What do you think happen? #1256460

    Hi,
    it’s ok now. I started a new page and the problems went away!
    best regards
    Charlotte

    in reply to: Suddenly can't update a page – What do you think happen? #1255470

    Thanks Rikard BUT why can’t I update the 1 and 2 columns suddenly? The same with text block,
    and why do I still see all the code? The Enfold Shortcode parser is not on in Screen Options.

    Best regards
    Charlotte

    in reply to: Hide featured image in blog roll #1253993

    Tack :)

    in reply to: Menu on mobile #1244807

    Thanks :) It looks good now.

    Best regards
    Charlotte

    in reply to: columns not align #1244656

    Great, thanks :)

    in reply to: columns not align #1244293

    Hi Nikko,
    thanks but all the values has been set to 0px . I can’t find 10px
    Maybe you can login?

    I also deleted the 2 columns and added new ones and it’s the same problem.

    Best regards
    Charlotte

    in reply to: Menu on mobile #1244230

    Yes, thanks.

    Best regards
    Charlotte

    in reply to: Menu on mobile #1243948

    Thanks Rikard,
    I have tried to change max-height value as well but don’t see any difference.

    @media only screen and (max-width: 767px) {
    nav.main_menu .social_bookmarks {
    margin-left: 25px;
    }
    }
    @media only screen and (max-width: 767px){
    .noLightbox.social_bookmarks icon_count_3{
    left:10px!important;
    }}

    in reply to: Menu on mobile #1243608

    Thanks Jordan but I don’t see any difference.

    Best regards
    Charlotte

Viewing 30 posts - 1 through 30 (of 934 total)