Forum Replies Created

Viewing 30 posts - 1 through 30 (of 100 total)
  • Author
    Posts
  • in reply to: Angular to Enfold Transition #1336358

    Ismael,

    Again, we REALLY appreciate ALL your efforts on this! Just one last question:

    Do you know of some ‘function’/’feature’ in Angular that we could use to ‘get around’ the Avia javascript ‘issue’? What I mean by this is when someone clicks on one of the pics in a ‘layout grid’ (for example – https://visualimpactsg.wpengine.com/trade-show-backwalls/), it would just show a ‘grid’ of pics for that product rather than launching a “slideshow”? (Which would hopefully solve the Ajax issue).

    Kind Regards,
    Mark Besh
    Visual Impact Systems

    in reply to: Angular to Enfold Transition #1335644

    Ismael,

    Again, thanks MUCH for all your efforts on this.

    Are there some things you could suggest we do (like changing up the versions of jquery with that plugin that you installed?; Putting in different versions of Ajax? Other suggestions…?). [ We are pretty familiar with FTP/changing out files. We just need some ‘direction’/what to try ].

    It seems like it is really ‘close’ to working properly.

    After doing some of your suggestions, if we do have to hire a freelancer, would you have a suggestion on who might actually ‘know’ Angular? (You? Devon? Victoria? Basillis? Yigit? Rikard? Someone else ‘at’ Kriesi?)

    Kind Regards,
    Mark Besh
    Visual Impact Systems

    in reply to: Angular to Enfold Transition #1335426

    Ismael,

    Thanks VERY MUCH for all your efforts on this!

    For whatever reason, the “PARTNERS” images (on the Home page) don’t load, although the link works. (FYI: They are ‘rollovers’)
    [ Here’s the “LIVE” site for reference: https://visualimpactsystems.com/ ]

    Also, I’m assuming this next one is related to “Ajax.”

    For example, click on the following link:

    Now, for example, click on “GrandFabric”. The “slideshow” never loads, and the “prev”/”next” ‘buttons’ don’t work either.

    Again, Thanks much for all your help on this.

    Mark Besh
    Visual Impact Systems

    in reply to: Angular to Enfold Transition #1335242

    Ismael,
    Thank you for being ‘patient’ with me!

    I REALLY appreciate this. You are ‘wonderful’ for spending all this time with me on this! You will be saving us a WHOLE LOT of time if you can make this work (so we don’t have to totally ‘rebuild’ the site). [ FYI: We just used the “Enfold” theme for a recent website we developed for a new client: https://wjcousinsandassociates.com/ (and have used it many times in the past). It’s a great theme. ].

    The logins are in the private area.

    Feel free to do ANYTHING you would like to the site—even ‘break’ it beyond repair—since I made a “Backup Point” on WPEngine and I can get it back to where it is now if you need it. [ Think we need to download a different version of jQuery and put it in the “js folder”? ]

    Again, we REALLY appreciate you spending the effort on this for us.

    Mark Besh
    Visual Impact Systems

    in reply to: Angular to Enfold Transition #1334971

    Ismael,

    I REALLY appreciate you being patient with me on this. You probably think I’m ‘stupid’ (and I’m thinking so, too). I must be missing something really simple.

    Just to be clear, this is what I am seeing on the Staging site (https://visualimpactsg.wpengine.com/):
    http://4vis.com/After_First_Location-Still_Trying_to_Load_Images.png

    [ FYI: This was the error I received the first time I tried your code (and I don’t remember the ‘location’ in the file that it gave this to me): http://4vis.com/Error-After_Second_Location_of_Code.png ].

    So, I copied the code directly from your forum post above (on January 6 at 4:03 am), and pasted it into 4 different ‘locations’ in the functions.php file, cleared the cache in 3 different browsers (Chrome, Firefox, and Safari), and even cleared the server cache (on WPEngine). Every time it would just continue to try to load the images on the Home page.

    @@@@@@@@@@@@@@@@

    FIRST LOCATION:

    <?php
    global $avia_config;
    if(isset($avia_config[‘use_child_theme_functions_only’])) return;

    /*
    * wpml multi site config file
    * needs to be loaded before the framework
    */

    require_once( ‘config-wpml/config.php’ );

    function ava_modify_jquery_version() {
    if (!is_admin()) {
    wp_deregister_script(‘jquery’);
    wp_register_script(‘jquery’,
    http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js&#8217;, false, ‘1.8.s’);
    wp_enqueue_script(‘jquery’);
    }
    }
    add_action(‘init’, ‘ava_modify_jquery_version’);

    ##################################################################
    # AVIA FRAMEWORK by Kriesi

    # this include calls a file that automatically includes all
    # the files within the folder framework and therefore makes
    # all functions and classes available for later use

    require_once( ‘framework/avia_framework.php’ );

    ##################################################################

    @@@@@@@@@@@@@@@@

    SECOND LOCATION:

    ##################################################################
    # Frontend Stuff necessary for the theme:
    ##################################################################

    $lang = TEMPLATEPATH . ‘/lang’;
    load_theme_textdomain(‘avia_framework’, $lang);

    /* Register frontend javascripts: */
    if(!is_admin()){
    add_action(‘init’, ‘avia_frontend_js’);
    }

    function ava_modify_jquery_version() {
    if (!is_admin()) {
    wp_deregister_script(‘jquery’);
    wp_register_script(‘jquery’,
    http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js&#8217;, false, ‘1.8.s’);
    wp_enqueue_script(‘jquery’);
    }
    }
    add_action(‘init’, ‘ava_modify_jquery_version’);

    if(!function_exists(‘avia_frontend_js’))
    {
    function avia_frontend_js()
    {
    wp_register_script( ‘avia-default’, AVIA_BASE_URL.’js/avia.js’, array(‘jquery’,’avia-html5-video’), 2, false );
    wp_register_script( ‘avia-prettyPhoto’, AVIA_BASE_URL.’js/prettyPhoto/js/jquery.prettyPhoto.js’, ‘jquery’, “3.0.1”, true);
    wp_register_script( ‘avia-html5-video’, AVIA_BASE_URL.’js/mediaelement/mediaelement-and-player.min.js’, ‘jquery’, “1”, true);
    wp_register_script( ‘aviapoly-slider’, AVIA_BASE_URL.’js/aviapoly.js’, ‘jquery’, “1.1.0”, true);
    }
    }

    @@@@@@@@@@@@@@@@

    THIRD LOCATION:

    ##################################################################
    # Frontend Stuff necessary for the theme:
    ##################################################################

    $lang = TEMPLATEPATH . ‘/lang’;
    load_theme_textdomain(‘avia_framework’, $lang);

    /* Register frontend javascripts: */
    if(!is_admin()){
    add_action(‘init’, ‘avia_frontend_js’);
    }

    function ava_modify_jquery_version() {
    if (!is_admin()) {
    wp_deregister_script(‘jquery’);
    wp_register_script(‘jquery’,
    http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js&#8217;, false, ‘1.8.s’);
    wp_enqueue_script(‘jquery’);
    }
    }
    add_action(‘init’, ‘ava_modify_jquery_version’);

    if(!function_exists(‘avia_frontend_js’))
    {
    function avia_frontend_js()
    {
    wp_register_script( ‘avia-default’, AVIA_BASE_URL.’js/avia.js’, array(‘jquery’,’avia-html5-video’), 2, false );
    wp_register_script( ‘avia-prettyPhoto’, AVIA_BASE_URL.’js/prettyPhoto/js/jquery.prettyPhoto.js’, ‘jquery’, “3.0.1”, true);
    wp_register_script( ‘avia-html5-video’, AVIA_BASE_URL.’js/mediaelement/mediaelement-and-player.min.js’, ‘jquery’, “1”, true);
    wp_register_script( ‘aviapoly-slider’, AVIA_BASE_URL.’js/aviapoly.js’, ‘jquery’, “1.1.0”, true);
    }
    }

    @@@@@@@@@@@@@@@@

    FOURTH LOCATION (At end of file):

    /**
    * Takes the youtube video ID stored in a custom field and adds a full Youtube URL to the content to allow
    * the video SEO plugin to index it.
    *
    * The video URL is added to the top of content to make it override other video’s in the post.
    *
    * @param string $content the input content field.
    * @param array $vid the video array for the post.
    *
    * @return string $content
    */
    function fix_content_input( $content, $vid ) {
    $slides = avia_post_meta($vid[‘post_id’], ‘slideshow’);
    $video = ”;
    if(!empty($slides[0]))
    {
    foreach($slides as $slide)
    {
    if(!empty($slide[‘slideshow_video’])) $video .= ‘ ‘ . $slide[‘slideshow_video’];
    }
    }
    $content = “\n” . $video . “\n” . $content;

    return $content;
    }
    add_filter( ‘wpseo_video_index_content’, ‘fix_content_input’, 10, 2 );

    // deactivate default theme seo if third party plugin is used. Currently supported plugins: Yoast WP SEO and All in One SEO
    if(defined(‘WPSEO_VERSION’) || class_exists(‘All_in_One_SEO_Pack’)) $avia_config[‘deactivate_seo’] = true;

    function ava_modify_jquery_version() {
    if (!is_admin()) {
    wp_deregister_script(‘jquery’);
    wp_register_script(‘jquery’,
    http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js&#8217;, false, ‘1.8.s’);
    wp_enqueue_script(‘jquery’);
    }
    }
    add_action(‘init’, ‘ava_modify_jquery_version’);

    @@@@@@@@@@@@@@@@

    Where did you put the code to make it work?

    Frustrated (and feeling ‘stupid’),
    Mark Besh

    in reply to: Angular to Enfold Transition #1334719

    Ismael,
    Thanks for being patient with me on this.

    I put your code into the “# Frontend Stuff necessary for the theme:” area of the functions.php and it ‘broke’ the site and showed an error. I then moved the code to the end of the functions.php file and it had the same error. (Replaced with the original file and it worked again).

    This is where I put it…

    ––––––––
    ##################################################################
    # Frontend Stuff necessary for the theme:
    ##################################################################

    $lang = TEMPLATEPATH . ‘/lang’;
    load_theme_textdomain(‘avia_framework’, $lang);

    /* Register frontend javascripts: */
    if(!is_admin()){
    add_action(‘init’, ‘avia_frontend_js’);
    }

    /* Register older version (1.8.3) of jQuery to fix home page images showing up */
    function ava_modify_jquery_version() {
    if (!is_admin()) {
    wp_deregister_script('jquery');
    wp_register_script('jquery',
    'http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js&#039;, false, '1.8.s');
    wp_enqueue_script('jquery');
    }
    }
    add_action('init', 'ava_modify_jquery_version');

    if(!function_exists(‘avia_frontend_js’))
    {
    function avia_frontend_js()
    {
    wp_register_script( ‘avia-default’, AVIA_BASE_URL.’js/avia.js’, array(‘jquery’,’avia-html5-video’), 2, false );
    wp_register_script( ‘avia-prettyPhoto’, AVIA_BASE_URL.’js/prettyPhoto/js/jquery.prettyPhoto.js’, ‘jquery’, “3.0.1”, true);
    wp_register_script( ‘avia-html5-video’, AVIA_BASE_URL.’js/mediaelement/mediaelement-and-player.min.js’, ‘jquery’, “1”, true);
    wp_register_script( ‘aviapoly-slider’, AVIA_BASE_URL.’js/aviapoly.js’, ‘jquery’, “1.1.0”, true);
    }
    }
    . . .
    –––––

    Did I put this in the wrong place?

    So, to give you more information, I downloaded the “jquery.js” file and this is what it says at the top of the file:
    /*!
    * jQuery JavaScript Library v1.5.1
    * http://jquery.com/
    *
    * Copyright 2011, John Resig
    * Dual licensed under the MIT or GPL Version 2 licenses.
    * http://jquery.org/license
    *
    * Includes Sizzle.js
    * http://sizzlejs.com/
    * Copyright 2011, The Dojo Foundation
    * Released under the MIT, BSD, and GPL Licenses.
    *
    * Date: Wed Feb 23 13:55:29 2011 -0500
    */

    I’m thinking that we have version 1.5.1. Right?

    I forgot to mention that we noticed that the images didn’t load when WP 5.5 came out (so we have been running WP 5.4.8 ever since). So, does this give you a bit more info to try to help us out? (What did WP 5.5 change that would make this happen?)

    [ I know that this is an old theme that you are no longer ‘officially’ supporting, but we do pay for Enfold support (every 6 months—and did so recently). So, could you please help me a bit more to try to make this work for us? (This would be A LOT of work to ‘upgrade’ to Enfold, and we are very busy with other clients right now) ].

    Kind Regards,
    Mark Besh
    Visual Impact Systems

    in reply to: Angular to Enfold Transition #1334589

    Ismael,
    Thanks for the solution. Is there a ‘specific’ place we need to put this code? (So we don’t have to put an older version ‘physically’ into the “js” folder?)

    If we need a “developer,” would there be a person ‘associated’ with Kriesi support that could help us?

    Mark Besh
    Visual Impact Systems

    in reply to: Angular to Enfold Transition #1334180

    Ismael,

    Thanks for the quick response.

    Could you instruct us on where to get that older jQuery and how to ‘install’ it (place it in the theme folder in the “js” folder?)—so we can test that idea?

    If that doesn’t work, could you ‘point’ us to the documentation that shows how to use the Advanced Layout Builder in Enfold (and possibly how it ‘relates’ to the older Angular Template Builder?)

    Also, could you (or one of your ‘older’ associates that supported Angular back when) be that “developer” (since y’all know the Avia framework)?

    Mark Besh
    Visual Impact Systems

    in reply to: Enfold – 'Losing' Characters of Text in Blog Post #1290543

    Yigit,

    YEA!!! That worked!

    Thank you and Victoria for ALL THE HELP on this! We REALLY appreciate it.

    Issue is CLOSED.

    Mark Besh
    Visual Impact Systems

    in reply to: Enfold – 'Losing' Characters of Text in Blog Post #1290115

    Yigit,

    Thanks, that worked.

    We also wanted the same ‘look’ on the Home page with the same 4 pics, so we used your code and changed the page ID to 19. It doesn’t seem to be working (we cleared all the caches). Did we do something wrong?:

    @media only screen and (max-width: 480px) {
    .responsive #top.postid-19 #wrap_all .slide-entry {
    width: 100%;
    margin-left: 0;
    padding-bottom: 30px;
    }
    }

    ALSO, there is still no space above the third pic down on the Blog page (on mobile and only in ‘portrait’ orientation).

    So, here is both the Quick CSS And the Custom CSS file for you to look at.

    Thanks for your help on this!
    Mark Besh
    Visual Impact Systems

    =========================

    QUICK CSS:
    #top #header .av-main-nav > li > a, #top #header .av-main-nav > li > a > .avia-menu-text {
    background-color: transparent !important;
    color: #333333 !important;
    font-size:18px !important;
    }

    .html_elegant-blog #top .avia-content-slider .blog-categories {
    display: none;
    }

    #top .container_wrap {
    border: none;
    }

    .main_color input[type=’submit’]:hover {
    background-color: rgba(0,100,168,0.2);
    }

    .slide-content .av-vertical-delimiter {
    display: none;
    }

    .current-menu-item > a > .avia-menu-fx {
    opacity: 0;
    }

    .slide-meta{
    display:none!important;
    }

    span.avia-menu-fx {
    height: 5px;
    }

    .postid-240 .iconbox_content {
    background: #f9f9f9 !important;
    border: 2px solid #dddddd;
    }

    @media only screen and (max-width: 767px) {
    .responsive #scroll-top-link {
    display: block !important;
    }}

    .postid-31 .avia_layout_row {
    max-width: 1310px !important;
    margin: 0 auto !important;
    border: none !important;
    }

    =========================

    CUSTOM CSS:
    /* Have fun adding your style here :) – PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

    /* General Custom CSS */

    /*
    Desktop Styles
    ================================================== */
    /* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

    @media only screen and (min-width: 768px) {
    /* Add your Desktop Styles here */

    }

    /*
    Mobile Styles
    ================================================== */
    /* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

    @media only screen and (max-width: 989px) {
    /* Add your Mobile Styles here */

    }

    @media only screen and (max-width: 989px) {
    #top.home #av-layout-grid-1 .avia-builder-el-8,
    #top.home #av-layout-grid-1 .avia-builder-el-11,
    #top #av-layout-grid-1 .avia-builder-el-5,
    #top #av-layout-grid-1 .avia-builder-el-8 {
    display: none;
    padding: 0 !important;
    }
    #top h3 a {
    font-size: 18px;
    text-transform: none;
    }

    .responsive #top.postid-25 #wrap_all .flex_column {
    margin-bottom: 0;
    }
    #top.postid-25 .content {
    padding-bottom:0;
    }
    }

    @media only screen and (max-width: 989px) {
    #top .no_margin.av_three_fifth.avia-builder-el-6 {
    padding: 30px 50px 0 !important;
    }
    }

    @media only screen and (max-width: 989px) {
    #top .no_margin.av_three_fifth.avia-builder-el-9 {
    padding: 30px 50px 0 !important;
    }
    }

    @media only screen and (max-width: 480px) {
    .responsive #top.postid-25 #wrap_all .slide-entry {
    width: 100%;
    margin-left: 0;
    padding-bottom: 30px;
    }
    }

    @media only screen and (max-width: 480px) {
    .responsive #top.postid-19 #wrap_all .slide-entry {
    width: 100%;
    margin-left: 0;
    padding-bottom: 30px;
    }
    }

    =========================

    in reply to: Enfold – 'Losing' Characters of Text in Blog Post #1288757

    Victoria,

    Any suggestions for the TWO items in the previous request? We are trying to finish the site so we can get final approval (so we can get paid).

    Thanks,
    Mark Besh
    Visual Impact Systems

    in reply to: Enfold – 'Losing' Characters of Text in Blog Post #1288262

    Victoria,

    That did work for the third blog post picture down, BUT it also ‘pushed’ down the right side column pics on both the Home and Services pages. Can this be limited to just the Blog page?

    ALSO, as a reminder…
    So now, would it be possible on both the “Home” page and the “Services” pages that when this ‘grouping’ of 4 items is viewed on a phone—only in portrait orientation— could they be only one item ‘wide’ (a ‘column’ that has each item stacked on top of each other — as it works on our site using Angular: https://visualimpactsystems.com/ ).

    Thanks for your help.

    Mark Besh
    Visual Impact Systems

    in reply to: Enfold – 'Losing' Characters of Text in Blog Post #1287897

    Victoria,

    Any thoughts on the 2 ‘issues’ mentioned on March 9th?

    Mark Besh
    Visual Impact Systems

    in reply to: Enfold – 'Losing' Characters of Text in Blog Post #1286722

    Victoria,

    That worked great for the “Services” page (they ‘line up’ with the edges of the Hero pic). Thanks. [ So, I then just changed the “el-6” to “el-9” to make this ‘grouping’ match up on the Home page ].

    So now, would it be possible on both the “Home” page and the “Services” pages that when this ‘grouping’ of 4 items is viewed on a phone—only in portrait orientation— could they be only one item ‘wide’ (a ‘column’ that has each item stacked on top of each other — as it works on our site using Angular: https://visualimpactsystems.com/ ).

    ALSO, there still is no space above the third pic on the Blog page ONLY on the phone and ONLY in ‘portrait’ orientation.
    https://visualimpactsystems.com/P1270761.JPG

    Thanks for your time and effort on this!

    Mark Besh
    Visual Impact Systems

    in reply to: Enfold – 'Losing' Characters of Text in Blog Post #1285485

    Victoria,

    Any thoughts on how to solve the latest issues yet?

    Mark Besh
    Visual Impact Systems

    in reply to: Enfold – GTMetrix – "Blocking" problems #1285482

    Rikard,

    Thanks for the response.

    Hmmm… Turned on the CSS file compression feature, and the website ‘jiggled’ on scrolling.

    Then I turned that off and turned on “Loading Google fonts in the footer.” That actually slowed down the site and gave a worse GTMetrix ‘score (From “B” to “C”).

    Looking at the original GTMetrix report, again, there is a lot of “blocking.” Is there anything else we can do about these?

    Mark Besh
    Visual Impact Systems

    in reply to: Enfold – 'Losing' Characters of Text in Blog Post #1284019

    Victoria,

    Thank you VERY MUCH for being so patient with me on this (our client is a real ‘stickler’).

    I changed your last code to a max-width of 989, so the picture boxes are larger (like last time). Now, would it be possible to make them a bit smaller on the Services page (and we might as well match the sizes on the Home page), to ‘line up’ with the outside ‘edges’ of the “Hero” pic and the outside of the text ‘box’ below?
    https://visualimpactsystems.com/P1270765.JPG
    https://visualimpactsystems.com/P1270766.JPG
    [ Kind of like this, when you reduce the desktop browser a bit less than tablet width: http://visualimpactsystems.com/Screen%20Shot%202021-02-26%20at%204.04.06%20PM.png ]

    Would it also be possible to make these pics into one ‘column’ instead of the current two columns ONLY in ‘portrait’ orientation and ONLY on the phone?
    https://visualimpactsystems.com/P1270760.JPG

    Then, for whatever reason (and I have been clearing ALL caches), there still is no space above the third pic on the Blog page ONLY on the phone and ONLY in ‘portrait’ orientation.
    https://visualimpactsystems.com/P1270761.JPG

    Again, I really appreciate all your effort on this.

    Mark Besh
    Visual Impact Systems

    in reply to: Enfold – 'Losing' Characters of Text in Blog Post #1283967

    Victoria,

    Thanks for checking this out on your phone. Yes, it is working on my iPhone now, too. [ I’m thinking it was the WP-Rocket cache that is set to “officially” flush every 10 days (in the plugin setup), even though I used its “Flush Cache” feature multiple times ]. (Maybe it is the ‘interaction’ between GoDaddy’s Sucuri cache and WP-Rocket’s cache). Hmmm. Thanks.

    Now, on the “Services” page (only on the iPad), the “Our Services” pics are not as big as the ones on the Home page and are left-justified. Can you help me make them center justified and the same size as they are on the Home page? [ You can see this happen by making the width of the browser window on the Desktop smaller and smaller, and when you get small enough, it ‘jumps’ to left-justified (which evidently ’emulates’ the iPad width), and then back to centered when you get a bit smaller (’emulating’ mobile width then?) ]. [ *** I noticed that this happens when the menu goes to Hamburger ]
    https://wjcousinsandassociates.com/services/

    Also, can the text size of the “WJ COUSINS AND ASSOCIATES IS A CANNABIS SECURITY…” text block and the “WHY US?” text block below on the Home page be smaller in size (maybe 75% size) when viewed on Tablet and on Mobile? (Desktop size is okay).

    Note: The space above the third blog pic (on the phone only) still does not have the same space above it as does the second blog post pic.

    I REALLY appreciate all your help on this!

    Mark Besh
    Visual Impact Systems

    • This reply was modified 3 years, 1 month ago by mbesh. Reason: *** I noticed
    in reply to: Enfold – 'Losing' Characters of Text in Blog Post #1283513

    Victoria,

    Changed both instances to 989, flushed both caches, and it did not change anything—it is still ‘chopping off’ the end of “Management,” the spacing below the red line is still huge and there is no spacing above the third blog post pic (like there is above the second blog post pic).

    http://visualimpactsystems.com/WJCousinsAndAssociates-HomePage.JPG
    http://visualimpactsystems.com/WJCousinsAndAssociates-ServicesPage.JPG
    http://visualimpactsystems.com/WJCousinsAndAssociates-BlogPage.JPG
    (Pics of iPhone 8 with iOS 13.5.1)
    [ Other more up-to-date iPhones with the latest iOS also show the same thhing].

    Thanks for looking into this for us.

    Mark Besh
    Visual Impact Systems

    P.S. Custom CSS file below…

    ============

    /* Have fun adding your style here :) – PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

    /* General Custom CSS */

    /*
    Desktop Styles
    ================================================== */
    /* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

    @media only screen and (min-width: 768px) {
    /* Add your Desktop Styles here */

    }

    /*
    Mobile Styles
    ================================================== */
    /* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

    @media only screen and (max-width: 989px) {
    /* Add your Mobile Styles here */

    }

    @media only screen and (max-width: 989px) {
    #top.home #av-layout-grid-1 .avia-builder-el-8,
    #top.home #av-layout-grid-1 .avia-builder-el-11,
    #top #av-layout-grid-1 .avia-builder-el-5 {
    display: none;
    padding: 0 !important;
    }
    #top h3 a {
    font-size: 18px;
    text-transform: none;
    }

    .responsive #top.postid-25 #wrap_all .flex_column {
    margin-bottom: 0;
    }
    #top.postid-25 .content {
    padding-bottom:0;
    }
    }

    in reply to: Enfold – 'Losing' Characters of Text in Blog Post #1283424

    Victoria,

    Thanks for the response and the code, however, after putting the code first into the quick CSS, then in the custom CSS file, neither worked (and I cleared both the Wp-Rocket and GoDaddy caches):

    https://wjcousinsandassociates.com/services/

    It just seems not to work properly in portrait orientation (and I checked it on 3 different iPhones and three different browsers).

    Thoughts?

    Thanks for your help.

    Mark Besh
    Visual Impact Systems

    Rikard,

    Well, yes I can update to the newest version. I just want to be sure about one thing:

    Y’all help me get rid of the “portfolio-item” in the URL and have me put the following code into the functions.php file (which I can definitely add to the new version’s functions.php file) [ https://kriesi.at/support/topic/enfold-remove-portfolio-item-from-the-url/#post-1275954 ].

    The question is, y’all logged in and did this for me: Made the “Portfolio Items Base” for the Permalink settings to be “/” (which you said was also needed to get rid of the “portfolio-item” in the URL). Will this setting go back to the default “portfolio-item” when I delete the current Enfold folder and replace it with the new version’s folder (with the updated functions.php file)?

    [ FYI: Plugins…
    Akismet Anti-Spam
    CoBlocks
    Enable jQuery Migrate Helper (Not Activated)
    Enable Media Replace
    Gravity Forms (Not Activated)
    reSmush.it Image Optimizer
    Simple Revisions Delete by bweb
    Social Media and Share Icons (Ultimate Social Media)
    Social Media Widget by Acurax (Not activated)
    Sucuri Security – Auditing, Malware Scanner and Hardening
    WP Media Categories
    WP101 Video Tutorials
    Yoast SEO ].

    Thanks for your help.

    Mark Besh
    Visual Impact Systems

    in reply to: Enfold – Remove "portfolio-item" from the URL #1280570

    Rikard,

    Just to help anyone that hosts the Enfold theme on GoDaddy, here’s the code that they had me put into the .htaccess file to ‘unblock’ loading the Enfold icon font:

    <IfModule mod_headers.c>
    <FilesMatch “\.(ttf|ttc|otf|eot|woff|woff2|css|js)$”>
    Header set Access-Control-Allow-Origin “*”
    </FilesMatch>
    </IfModule>

    [ NOTE: There is also this code to put into the .haccess file to work with GoDaddy’s Sucuri firewall and their CDN (Be sure to disable the Managed WordPress CDN in the “Production” settings):

    # BEGIN Website Firewall Bypass Prevention
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^(www.)?DOMAIN_HERE.com$
    RewriteCond %{HTTP:X-SUCURI-CLIENTIP} ^$
    RewriteCond %{HTTP:X-SUCURI-COUNTRY} ^$
    RewriteRule ^(.*)$ – [F,L]
    ErrorDocument 403 Forbidden
    # END Website Firewall Bypass Prevention

    This was the first ‘item’ in the .htaccess file. (Put the URL of the site in the “DOMAIN_HERE”) ].

    Thank you VERY MUCH for all your/everyone’s efforts on this!

    Issue solved.

    Mark Besh
    Visual Impact Systems

    in reply to: Contact form button hover custom color #1279841

    Tried adding a font-color: #ffffff to the code because the black text doesn’t look good with the blue background now. Any reason it isn’t reflecting the white text code?

    in reply to: Icon box background color (not icon entire square) #1279835

    Used this code (to match light brown of boxes below the icon boxes) and nothing comes up. Wrong ID maybe? Can’t use hex?

    .page-id-240 .iconbox_content {
    background: ##fcfcfc !important;
    }

    in reply to: Enfold – Remove "portfolio-item" from the URL #1277982

    Rikard,

    We are planning to install WP-Rocket on the Live site (when we are finished with development). Do you know if it has, in its configuration area, the ability to do what you are suggesting, or is this a ‘core’ server kind of thing?

    [ OR, would you suggest turning off the CDN that GoDaddy provides and only use WP-Rocket? ]

    Thanks for your help.

    Mark Besh
    Visual Impact Systems

    in reply to: Enfold – Remove "portfolio-item" from the URL #1277476

    Ismael,

    Don’t know if this new issue is related to the code addition, but it might be, so I thought I would tell you about the new issue here (you could move it to another ‘thread’ if it is not associated with the removal of the portfolio-item permalink).

    It’s pretty simple: We have developed this new site for this client in the “Staging” area on GoDaddy. We just ‘pushed’ the site to “Live” (and clicked on “Overwrite”), and none of the icons are showing up [ Magnifying glass for search (in menu and footer on “Home” page); Icons in blue circles (on “About” page); book icons in the blue circles (on the “Resources” page) ]. (I think that is all that is missing).

    “Staging” Site (everything seems to work just fine):

    “Live” Site (missing icons):

    Is this related to the removal of the permalinks? (and/or related to the icon font?)

    If this is not ‘transferring’ properly, could there be other things in the future that might not go from Staging to Live using Enfold with GoDaddy?

    Thanks for your help,

    Mark Besh
    Visual Impact Systems

    in reply to: Menu hover line #1277174

    All good thank you

    in reply to: Remove date stamp below blog posts elements #1276349

    Nope, like I mentioned, I don’t want it to remove date from the “blog” section posts on the home page. Just the “services” sections as mentioned in the first post.

    in reply to: Enfold – Remove "portfolio-item" from the URL #1276335

    Ismael,

    Yes, as I mentioned, when I put your code in it ‘broke’ the site, and Dashboard was not available (That’s why I mentioned I was using Cyberduck to copy the functions.php file into the Enfold directory).

    Yes, it looks like it is working properly. THANK YOU VERY MUCH! (I’m going to have to compare your functions.php with mine to see what the difference was—or maybe it was the ‘process’ you used to do it).

    I have copied the functions.php file, and yes, know we will have to put your code into it when we update the theme.

    SO, just to be clear, so we can put the proper code into the next functions.php file (after a theme update), it looks like you ‘redid’ this code that was at the end of the original functions.php:

    add_filter( ‘post_type_link’, ‘ava_remove_custom_slug’, 9999, 3 );
    function ava_remove_custom_slug( $post_link, $post, $leavename ) {
    if ( ‘portfolio’ != $post->post_type || ‘publish’ != $post->post_status ) {
    return $post_link;
    }

    $post_link = str_replace( ‘/’ . $post->post_type . ‘/’, ‘/’, $post_link );

    return $post_link;
    }

    which came just after this:
    /*
    * register custom functions that are not related to the framework but necessary for the theme to run
    */

    require_once( ‘functions-enfold.php’);

    SO, should I just add all of this code after that “require_once” code in any future functions.php file after a theme update?:

    /**
    * Remove the slug from published portfolio permalinks. Only affect our custom post type, though.
    */
    function avf_portfolio_cpt_args_mod($args) {
    $args[‘rewrite’][‘slug’] = ‘/’;
    $args[‘rewrite’][‘with_front’] = false;
    return $args;
    }
    add_filter(‘avf_portfolio_cpt_args’, ‘avf_portfolio_cpt_args_mod’, 10);

    function ava_remove_custom_slug( $post_link, $post, $leavename ) {
    if ( ‘portfolio’ != $post->post_type || ‘publish’ != $post->post_status ) {
    return $post_link;
    }

    $post_link = str_replace( ‘/’ . $post->post_type . ‘/’, ‘/’, $post_link );

    return $post_link;
    }
    add_filter( ‘post_type_link’, ‘ava_remove_custom_slug’, 9999, 3 );

    /**
    * Have WordPress match postname to any of our public post types (post, page, portfolio).
    * All of our public post types can have /post-name/ as the slug, so they need to be unique across all posts.
    * By default, WordPress only accounts for posts and pages where the slug is /post-name/.
    *
    * @param $query The current query.
    */
    function ava_add_cpt_post_names_to_main_query( $query ) {

    // Bail if this is not the main query.
    if ( ! $query->is_main_query() ) {
    return;
    }

    // Bail if this query doesn’t match our very specific rewrite rule.
    if ( ! isset( $query->query[‘page’] ) || 2 !== count( $query->query ) ) {
    return;
    }

    // Bail if we’re not querying based on the post name.
    if ( empty( $query->query[‘name’] ) ) {
    return;
    }

    // Add CPT to the list of post types WP will include when it queries based on the post name.
    $query->set( ‘post_type’, array( ‘post’, ‘page’, ‘portfolio’ ) );
    }
    add_action( ‘pre_get_posts’, ‘ava_add_cpt_post_names_to_main_query’ );

    Ismael, thank you for ALL your effort on this!

    Mark Besh
    Visual Impact Systems

    in reply to: Enfold – Remove "portfolio-item" from the URL #1276293

    Ismael,

    We did exactly what you told us to, and it still gives the critical error.

    Thank you for offering to help us. The login info for the Staging site is below in the private area.

    Mark Besh
    Visual Impact Systems

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