You shouldn’t need to change the viewbox
attribute. You can probably just use it.
The way I think about is SVGs are like they are drawn on graph paper. The viewbox sets out how many squares there are on the paper and the the path
in your examples above are the guides to where to draw on the graph paper.
The top left is 0,0 and the bottom right is the extremes of the viewbox. E.g. 24,24 or 488,512.
You should be able to just swap the SVGs out and style with CSS.
Related Posts:
- How to change or add theme to Android Studio?
- Remove JSON API links in header html
- How can I get the title attribute from get_the_post_thumbnail()?
- What is meant by __(‘page’,’twentytwelve’)
- Adding Language Support using .pot and .mo files to a WordPress Theme?
- WP admin bar only on some pages
- What does the term “bundled-theme” mean?
- Creating Multiple Menus when using the TwentyTen Theme?
- What does “Trying to get property of non object in..” mean?
- How to delete default themes
- Exclude file from theme editor
- Problem : deletion failed, the theme requested does not exist
- Download all WordPress.com available themes, somewhere?
- How to stop a 500 error on the WordPress theme folder
- Change Theme from Plugin based on query_vars
- How to mark an option as selected
- Archiving annual festival site
- WordPress can’t see symlinked theme in Ubuntu
- How to know the theme name of a wordpress blog?
- Theme Development Admin Area [closed]
- adding multiple sidebars on pages
- Varying Search Result Pages
- Does theme update also update a child theme zip
- Add js into a theme [closed]
- How to know if user choose to show full post or excerpt?
- .htaccess edits
- Broken link to theme asset after restoring backup
- Create more than one section in Theme Customizer
- Theme settings default, strange behavior before first save
- Is that worth it to find a designer for creating a WordPress theme for selling on ThemeForest? [closed]
- Howto keep header image when changing theme
- Color palet in the WordPress’ front-end?
- Get name of current page template in Gutenberg era
- Mobile issue – website isn’t properly detecting screen size [closed]
- Redux callback action
- Problem of running development copy of WordPress on WebMatrix?
- translation does not work for ‘Home’
- Should I implement my own custom theme
- How to translate a string that contains a WordPress sitename
- How can I manually activate my previous theme without browser access to dashboard?
- Advantages of wordpress theme vs wordpress as a backend only [closed]
- Is that a malicious code?
- Creating custom meta box throws PHP warning error in WordPress
- What is the point of needing add_theme_support( ‘html5’) in WordPress 5.x
- Plugin and themes are adding the same stylesheets
- WordPress EduPress and businessbite Theme Installation Failed [closed]
- How can my user make their own Blog/Diary
- Where do I find (free) fully-internationalized themes? [closed]
- How do I manually revert back to my old theme?
- Modifying the markup in the Tag Cloud widget?
- How to trace and resolve a theme problem such as flickering links in WordPress? [closed]
- Child theme looks different from parent theme, and incorrectly displays parts
- Adding an extra sidebar to your theme
- Widgets not showing on sidebars
- linking to an svg through comments_popup_link
- Create Custom Attachment Template That is Processed from Plugin Folder?
- Jquery Theme Roller to WordPress
- Implementation of language_attributes function
- my blog crashes ie7?
- How would I got about calling a php file every time someone publishes a new post?
- Custom theme – pages in menu
- remove preloader in WordPress theme [closed]
- Setting Multiple Post Containers Across Homepage And Costumize Them
- Flexslider in child theme
- How to edit the default comment title?
- Why my function.php file in theme delete automatically? [closed]
- Webflow Interactions on WordPress site?
- After changed url from http to https, it says “This site can’t be reached”
- 404 not working, going to homepage; how to fix?
- Local LAMP Stack on Linux Mint theme upload fails
- WP Snippet to Hide Theme Editor In Dashboard Only Works On LocalHost Site
- Expected an identifier and instead saw ‘
- WordPress 404 on style.css but not on all pages
- How do WordPress themes work in relation to content?
- Custom CSS is overwritten by WordPress?
- Incorrect Theme and Upload URLs After Migration
- Edit box-header on WordPress Dashboard
- Is there significant risk in not keeping a theme updated? [closed]
- Sticky header for wordpress changes size and logo size as I scroll down
- Copy from wordpress for dev gives different output in browser
- When translating not all string are present in POedit
- Target Internal Link Of Another Page On Website
- How to retrieve images attached to post through media library?
- Lost for direction on how to continue building a theme
- How to change images size after theme modification?
- Unable to access new installed theme
- Create a child Theme or custom Theme
- Using a page (Blog template) for home page blog posts is problematic?
- Capcha not getting displayed
- I can’t install theme: theme install failed
- Static front page displaying twice
- Changing appearance of WooCommerce product layout [closed]
- Starting fresh on a blank “theme” [closed]
- Mystique theme: widgets on sidebar falling under the page content
- Can’t install vEstate Real Estate WP Themes
- Setting colors in theme.json changes default font size and family in backend
- What’s the best way to go from a design to a customized WordPress site?
- Alternative to Underscore.me for gen custom blank theme [closed]
- Help with Divi logo not appearing for 10s
- How to clone a theme template from within WordPress? [closed]