Modifying a theme code in its child theme is your best bet. It is the safest way.
Go ahead and add your code to the child theme’s files. It won’t affect Avada after any future updates.
Related Posts:
- How do I get a parent theme modification from a child theme?
- Alignment Problem [closed]
- Questions from a new WP Dev [closed]
- (Parent) theme Is Not Showing In Theme Selection Panel and Therefore Breaks Child Theme
- Duplicate child theme incl. design changes
- Debugging slow WordPress Theme Customizer (Any option similar to Query Monitor)?
- How to customize the colors within a stylesheet using a WordPress setting
- How To extend WP_Customize_Control
- Get entered value of customiser field for live preview
- Theme Customizer : how to create multiple-level panel
- Customizer Active Callback not working
- How to execute conditional script when on new customize.php (Theme Customize) screen
- Trigger Customizer saving process with Javascript only
- Adding customizer styles with wp_add_inline_style
- Best practices – Should I create a child theme vs. customizing a framework theme? (such as HTML5 reset)
- Child Theme not loading parent CSS
- add_image_size is scaling, even though crop is set to true
- Is it possible to display the admin bar while in the Theme Customizer?
- How to Change CSS Variable value in Theme Customizer Live Preview
- Should I update my _s theme?
- How to keep my custom theme changes after updating genesis child theme
- How to set page template on front using starter content?
- WordPress Customizer Control with React
- How to change the customizer´s sidebar width?
- Override Constants in Child theme
- How i can get widgets areas working in customizer?
- Child themes: disabling the parent
- How to disable automatic colors in the Twenty Twenty theme?
- Child theme style.css versioning
- How can i add edit shortcut icon in wordpress customizer without using selective refresh?
- Cannot figure out how to overwrite files in child theme
- Removing non native customizer settings from a child theme
- Add new panel inside parent panel in WP Customize?
- Input ordering in wordpress theme customizer
- Unable to pass variable on theme cusomizer add_settings()
- Link to a .po file in a child theme
- Alias to theme folder for local development
- How to add field customizable by the theme editor to your theme?
- Inheritance of parent theme plugin files in a child theme
- Divi Child Theme not appearing in “Themes” [closed]
- Select full Image Size on widget “Genesis – Featured Posts”
- Edit footer via customizer
- How do i make a custom section’s setting display the default value in Customizer?
- Child theme enqueue scripts using new functions
- “Add A Widget” button in the Customizer
- Show woocommerce categories on my theme menu styling
- Q: How to pull data from custom table to populate zustomizer setting/control select options
- Child Theme’s style.css not loading in mobile browser
- The ‘default’ attribute from $wp_customize->add_setting() method not in db?
- How to modify default controls in WordPress theme customizer
- How to properly create a child theme
- Renaming a theme so it aids SEO and the theme used is hidden
- Child Theme header1.php file not overwriting parent theme’s header1.php file
- Will my site get messed up when the wordpress theme updates if I edited the html code in the editor to change footer?
- Overide enqueue in non plugable function via child theme
- Why in the static pages of my theme are showing these information?
- Starting point for custom Themes [closed]
- Can I make a Customizer dropdown-pages list include private pages?
- Do I need to create a child theme for JointsWP
- Why is switching between themes breaking my child theme?
- How to override template files in parent theme?
- Theme logo metadata into template file
- Customizer: get_preview_url() inside customize_save_after hook
- Is There A WordPress Hook for Accessing Attachments for A Particular Page?
- WP Customazation API doesn’t save the default Value
- Different themes on one site
- Related Post Category Filter
- Let user to upload multiple time
- How to dynamically set a background image with the customizer without putting the css as an inline-style
- Default customizer colors aren’t displayed outside of the preview
- WordPress Custom Theme : Theme Builder vs ACF vs Gutenberg
- fetch all post from wp multisite network and sort all the post in descending order on the basis of “Created by ” term
- What is an alternative to not using child theme to customize a WordPress theme?
- Block validation failed for `core/pullquote` after adding theme support for editor-color-palette
- Where i must put hooks in overridable functions?
- Is_single not working properly in genesis
- Child theme in separate WordPress Install
- Change header image on a particular page
- Update modified Shopify third-party theme [closed]
- Add multiple sections, settings and controls at once to the Customizer
- Providing updates to your WordPress theme
- How to show children pages as array
- Missing hashtag with theme customizer header color
- Customizer_register theme options not saving
- Hook in parent theme Menu function
- Editable screenshot.png in a custom theme developed
- How do child themes work?
- Using Customizer value in an external PHP file inside a theme
- get_theme_mod not pulling css colors into header using wp_head
- Why WordPress gets old templates code instead of the last updated ones
- Theme customizer live preview JS- Trying to bind to an html image url without luck
- adding navigation to genesis themes
- What to do when child theme is out of date with parent theme
- Extracting Distance from FacetWP Proximity Function to Display in WordPress Template
- Image Size wrong during upload
- Twenty sixteen – full height
- ways to create customized theme (hard coded – no pagebuilder)
- My theme is full of error messages in the “Customize” screen, but nowhere else
- WP Customizer get control value on change
- Execute javscript when theme customizer loads (autosave issue)