svg header functionality

  • Author
    Posts
  • #40312

    svg images do not function in the Fluida customization widget as there is a cropping error or bug

    I even pre-sized the image to the correct Fluida header dimensions and it still failed to upload (I am able to load and see them in my media library as my functions.php was modified to accept svg files)

    my main reason for svg use is quality, and to create svg line animation

    #40336
    Zed
    Cryout Creations mastermind

    Fluida has no customization widget. The functionality you are using to set the header image is core WordPress functionality. For SVGs to work there, support needs to be added into WordPress.

    See here for more information.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #40348

    thanks, and this helped: Using SVG Logos with the WordPress Customizer

    per the link above, I just put this in my child theme functions.php:

    //* Add support for custom flexible header
    add_theme_support( ‘custom-header’, array(
    ‘flex-width’ => true,
    ‘width’ => 260,
    ‘flex-height’ => true,
    ‘height’ => 100,
    ‘header-selector’ => ‘.site-title a’,
    ‘header-text’ => false

    ) );

    • This reply was modified 7 years ago by erikm.
Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘svg header functionality’ is closed to new replies.