Forum Replies Created

Viewing 15 posts - 46 through 60 (of 221 total)
  • Posted in:
  • in reply to: multiple main nav menu links highlighting #304235
    WEswift
    Member
    Post count: 234

    David – thanks so much for catching this. Is there a slick css remedy for this? I’m investigating as well. Technically, these pages aren’t assigned to a parent > child relationship. It’s odd that a custom child link only established for one menu item would affect menu items outside of (and at a higher level than) an individual menu / dropdown item. I think that more universal menu behavior would be indicative of an actual assigned parent > child relationship. Not merely a custom link in a separate dropdown menu. Thoughts? -Paul

    in reply to: multiple main nav menu links highlighting #303106
    WEswift
    Member
    Post count: 234
    This reply has been marked as private.
    in reply to: Additional Nucleo Icons #303032
    WEswift
    Member
    Post count: 234

    Ed – Works for me! Thanks for getting this handled. -Paul

    in reply to: multiple main nav menu links highlighting #302808
    WEswift
    Member
    Post count: 234

    Rui – apologies on my delayed response. That’s a live client site so I am unable to turn off plugins. We do however have a preview site page here: http://bit.ly/2g9EZzr which has the same issue. However, even after turning off plugins on this nearly identical preview site, the issue remains. Thoughts? Thanks again in advance.

    in reply to: Updating SVG Icons #302784
    WEswift
    Member
    Post count: 234

    David – thanks for keeping this going. It’s much appreciated. Keep us posted. -Paul

    in reply to: Updating SVG Icons #302251
    WEswift
    Member
    Post count: 234
    This reply has been marked as private.
    in reply to: body alt color – apply as a class selector? #302244
    WEswift
    Member
    Post count: 234

    Thanks for the follow through. Forgot to mark this as resolved.

    in reply to: multiple main nav menu links highlighting #302045
    WEswift
    Member
    Post count: 234
    This reply has been marked as private.
    in reply to: Updating SVG Icons #301854
    WEswift
    Member
    Post count: 234

    David – I just added the following line:

    if ( !$svg_icons )
    {
         $svg_icons = array();
    }

    Unfortunately I still get the word “Array” in the svg icon list.

    Here’s my entire function:

    
    /* ADD PAGE BUILDER SVG ICONS
    	================================================== */
    	if ( !function_exists( 'spb_child_theme_svg_icons' ) )
    	{
            function spb_child_theme_svg_icons( $svg_icons )
            {
    
            	if ( !$svg_icons )
            	{
            		$svg_icons = array();
            	}
    
                // Check if we can access files
                if ( !function_exists('glob') )
                {
                    return $svg_icons;
                }
    
                // Path to directory to scan
                $folder = '/swift-builder-icons/svg/';
                $directory = get_stylesheet_directory() . $folder;
                $uri = get_stylesheet_directory_uri() . $folder;
    
                // Get all svg files
                $svgs = glob($directory . "*.svg");
    
                // If no files, return
                if ( empty($svgs) )
                {
                    return;
                }
    
                // Add each icon to array
                foreach($svgs as $svg)
                {
                    $svg = basename($svg);
                    $key = $uri . $svg;
                    if ( !array_key_exists( $key, $svg_icons ) )
                    {
                        $svg_icons[ $key ] = $svg;
                    }
                }
    
                // Return array
                return $svg_icons; 
            }
            add_filter( 'spb_svg_icons_list', 'spb_child_theme_svg_icons' );
        }

    Thoughts?

    in reply to: Additional Nucleo Icons #301589
    WEswift
    Member
    Post count: 234

    Ed – Thanks for the swift response. Unfortunately, now the word “Array” appears in the svg list. Thoughts?

    in reply to: Updating SVG Icons #301568
    WEswift
    Member
    Post count: 234

    Ed – I’m attempting to implement this code as a fallback for the other method (discussed here: http://www.swiftideas.com/forums/topic/additional-nucleo-icons/#post-301515) which isn’t yet working either. With your code as-is, I was able to get the icons to appear (as outlined down arrows) in the svg list. However, the icons did not appear on the front end. There is just an empty space.

    Update: I noticed your code utilized spb_outline_svg_icons, but i’m adding colored icons, so I swapped that bit with spb_coloured_svg_icons – which isn’t adding anything to the icon list. Thoughts?

    in reply to: Additional Nucleo Icons #301553
    WEswift
    Member
    Post count: 234

    Specifically, I’m trying to find the new icons within the Icon Box svg listing. Is there a different way I’m supposed to add these to content? Or should they appear in this and other pre-created svg lists for Swift Builder Elements?

    in reply to: Additional Nucleo Icons #301552
    WEswift
    Member
    Post count: 234

    I’m not able to get this to work. I thought it was, but it was actually the fact that I had some duplicate svgs that were also already in the theme. Thoughts?

    in reply to: body alt color – apply as a class selector? #301550
    WEswift
    Member
    Post count: 234

    I meant is there a class already associated with the Theme Customizations settings? I know I can make any class selector I want. But it isn’t clear what the Body Alt color is used for. So my hope was that there is a class already built into the theme to use these settings. Is that the case?

    in reply to: Additional Nucleo Icons #301433
    WEswift
    Member
    Post count: 234

    I would love to be able to do this as well. Any progress on this?

Viewing 15 posts - 46 through 60 (of 221 total)