22316 comments found.
Hi, A.j,
I remember you saying a couple of days ago that my Total Child Theme needed a fix.
Is that still the case as everything seems to be working fine now.
Remember I logged into your site and I edited your header.php file in the child theme because it was outdated, but then you rolled back your site. If rolling back your site also put back your old child theme then you need to edit the header.php file again accordingly.
Now, I just inspected your site and it appears your child theme header.php file maintained the tweaks I made before you rolled your site back. Perhaps you just rolled back the theme version and not your whole site from a backup (which is what I was assuming you did as it wasn’t clear).
So at this point you should be fine 
- AJ
Hi AJ,
Main menu class “menu-button” appears to have lost it’s left/right padding since last update. Can you fix please?
Hi,
This element should still have the same CSS it’s always had in regards to the the padding. I just double checked a demo using it to confirm: https://a.cl.ly/v1uG185p
That said, this left/right padding will only be added when using “non-classic” styles. So on new installations the menu-button won’t inherit the menu padding as it used to do so it can use the padding defined for your buttons. When updating your site your site the padding will actually be added like such: https://a.cl.ly/GGubPwX5
It’s been highly requested for year now that the menu button uses the same padding as all other buttons on the site. In order for me to update that without changing the padding for customers updating their site I’ve made the changes apply only for new installations. This is done via the new “Classic Styles” option in the Theme Panel that is automatically enabled when updating your theme. More info on the changelog: https://totalwptheme.com/docs/changelog/6-0/
If your button is not displaying as it was before there are few couple reasons I can think of:
- Your site is just cached and you need to clear your optimization plugin’s or hosting cache.
- You have overwritten the header.php file via a child theme and it’s very outdated so your site doesn’t have the wpex-classic-style class added to the html element causing a lot issues (not just the button padding).
- You’ve manually disabled Classic Styles via the Theme Panel and now the menu button inherits your default button padding rather then the menu item padding.
If you share your URL I can tell you right away what the issue is.
- AJ
Hi AJ,
Haven’t delved into updating any of my sites with v6.0.1, no time yet, but am starting a new build with v6.0.1. I have read through the changelog.
In Theme Panel / Classic styles is disabled, Slim Mode is enabled.
One thing I’m seeing I miss is when editing a post/page, ability to change font size on a word(s) in the Classic or Backend editor, without resorting to adding HTML to the source code, or enabling Classic styles. Am I missing something here? For the sake of my clients who edit their own sites, I’d really like them to be able to set font size them selves if a word(s) call for this edit.
Perhaps there is a function to re-enable font size selection in the editor?
I’ve read through the comments here to see if someone else has already asked since launch of v6, but found nothing.
Thanks for your help!
Hi,
I disable those font size selectors when not in classic mode because it’s really not recommended to use them to change your font sizes in this way. There are many reasons for this and really it’s not necessary.
One of the main reasons is because it can cause a lot of manual labor in the future if a site has manually set sizes like this everywhere. Let’s say your client wants a site with smaller fonts (15px) now and they manually set some words to 18px in a bunch of places. Years later, the customer now wants their site to have a default font size of 18px – well now the “larger” font sizes that were manually set everywhere are the same size of the text so you have to go through and edit everywhere that was set. Not good.
And generally if you want to emphasize a word you make it bold, italic or underline – not bigger.
Now, if you are working with WPBakery it’s best to use the font size field when adding headings, text boxes, etc. And hopefully use a preset theme font size: https://totalwptheme.com/docs/preset-font-sizes/ – so they can be globally controlled.
And if you are referring to standard posts without using a page builder (like blog posts) then it’s probably best to use Gutenberg and in Total 6.0+ I’ve updated the Gutenberg font sizes to use the theme’s preset font sizes (like the link above). See here: https://a.cl.ly/mXuN8odA – you will notice in Gutenberg also that you can only change the font size of a whole text block, because changing the size of just a few words doesn’t make a whole lot of sense.
But again, there aren’t really any cases where I see inserting a larger font size inside the body of a post to be useful. If you want to share an example I’ll gladly take a look. Thanks!
- AJ
ps: You could use some custom code to re-enable the dropdown and I can share this. But I do recommend against manually setting those font sizes, I think it’s best to train the client differently.
I totally understand all you said, but regardless, there are cases where I would want ability to adjust font size on a specific word within a paragraph. If you wouldn’t mind sharing the custom code to re-enable the dropdown, I’d be grateful.
I believe you know my email address if you’d prefer to email rather than share publicly.
Thanks AJ!
Sorry, I totally failed to mention that the theme does add the preset font sizes in the editor so you can select from those: https://a.cl.ly/qGu40wKk – which is much better because then it’s using the preset font sizes which can always be controlled globally: https://totalwptheme.com/docs/preset-font-sizes/
So you can still apply larger/smaller fonts to specific words in the editor.
What I removed was the core WordPress dropdown that adds fixed pixel based sizes which I would never recommend using as explained previously.
- AJ
Thanks AJ. Your suggestion to use preset font sizes in the editor will do just fine.
Take care!
I’ve been using the same license code for a long time on the same domain. Now the theme total is not working. I checked the backend and the license code is missing. I’ve tried typing in the same code again, but I get a message saying it is already in use. How can this happen?
Hi,
That’s very strange. My only guess would be that perhaps your site used to be in HTTP but has since moved to HTTPS and these are considered 2 separate domains. You can simply log in here though – https://my.totalwptheme.com/ – and click on “License Manager” at the top to de-activate any license in use so you can re-register it.
Now, when you say “the theme is not working” what do you mean? Activating the license is only used for updates, if you have issue/error please let me know what it is so I can help troubleshoot!
- AJ
Thank you for the quick response! Reactivating the license was successful. The website still doesn’t work with the theme:
https://t1p.de/0907kAny suggestions?
Hi,
Your site has a critical error but it’s not actually shown on the page so it’s hard to know what’s going on. But I’m pretty sure I have an idea since another customer had a similar issue and they were also using the transparent header with a custom logo. Can you shoot me an email directly to wpexplorer [at] gmail dot com with your site logins so I can take a look and make sure everything is fixed up and working as expected?
Thank you and sorry for the troubles!
- AJ
Thank you for your support!
Of course and again sorry for the troubles!
Hi 
This video explains how to toggle elements
https://www.youtube.com/watch?v=nltEQVwQbz0How can I replicate this from within a custom card?
Thanks for your support!
Hi,
If you want to use the toggle functionality inside a custom card you will need to use a “dynamic” ID for your toggle element because it has to change for each card. You can do this by using dynamic variables – https://totalwptheme.com/docs/dynamic-variables/ – more specifically the {{post_id}}
Example: https://a.cl.ly/X6uGkJkG – so basically the unique ID for your element and link that triggers the toggle should use the format “your-custom-id-{{post_id}}”.
This way your toggles will be unique since the name for each one will be appended with the current post ID which is unique.
- AJ
ps: Please log in with the account used to purchase the theme or please purchase a license to access support. Thank you!
Hi AJ is there a plugin for advanced typography that can work with Total? I want to add stroke & shadow to the header text.
Hi,
I replied to your ticket a while ago. So if you are using the theme’s Heading element there is already a shadow option and you can add a “stoke” (aka underline) by using the Bottom Border style. I shared a video with you…But now that I mention it, I think what you want is a border around the whole element. So here is a new video showing how to do that: https://a.cl.ly/geuDxJ8b
Also, I assume you mean “box shadow” and not “text shadow” which are 2 different things.
Either way, there is no need for a 3rd party plugin for something like this. It would be best to just use a little custom CSS if you need to tweak the design of something and there aren’t built-in options for it. I can help with the custom CSS if needed, but I need to know exactly what you want.
- Aj
Hi 
The following article explains how to create a custom grid filter
https://totalwptheme.com/docs/filter-grid-navbar/However, I cannot find how to create a grid with multiple filters (with AND or OR logic)
Could you kindly advise? Thanks
Hi,
You can insert multiple navigation bars to filter the same grid if you want. But it may not be what you want exactly. I have plans to introduce advanced filtering elements in the future, but it’s not a huge priority right now as it’s not needed by most customers.
This plugin is awesome and works great with Total cards – https://wordpress.org/plugins/search-filter/
Also, Total does have a built-in JS script for filtering that can be used to create some very unique filters. Here is a sample snippet: https://gist.github.com/wpexplorer/e95f2bc43c82a227787e8ae0d8a87432 – so you can create a custom filter via a child theme quite easily and include any taxonomies, search fields, meta search, etc. It’s an advanced script I created just for Total – with the plan to integrate more advanced filtering elements in the future and can be used by developers.
- AJ
Thank you very much for your reply.
I now have created a WPCoded PHP snippet that contains the custom filter shortcode that you have kindly shared.
The shortcode is however not interpreted on the page where I have included it. See, https://share.zight.com/9Zu6P78O
Could this be related to the use of WPCode and the fact that it seems to restrict custom shortcodes? See, https://share.zight.com/4guLzo2y
I would very much welcome some guidance on how to use the custom filter shortcode.
Thank you for your consideration and support
S
Hi,
It’s impossible to know what’s going on with just those 2 screenshots. Looking at the screenshot though your quotes look like they are incorrectly encoded, so that could be the issue.
Also, the snippet I shared creates a shortcode itself and if WPCode is creating a shortcode for the shortcode and really it’s unnecessary. You should be using the “Auto Insert” option for the code because you want this code to run all the time. Otherwise you would need to just take the inner code of the snippet and use the shortcode provided by WPCode instead.
- AJ
Thank you very much for the guidance, which allowed me to progress.
I am now facing a problem loading the AJAX script. Using WP code, the following displays the error message.
https://share.zight.com/E0uNlGQPThank you for your suggestions,
S
I don’t really understand what’s going on based on the screenshot. This screenshot implies that you modified the code to display an error. Maybe you just did that as a test?
Anyway, depending what code you added in WP Code it’s possible the plugin is running things too early before the theme loads which will cause this check to return false.
I personally don’t like plugins like WP-Code at all as they are filled with bloat, constantly asking you to upgrade to a premium version and just slow down the site. Using a child theme is much more efficient then a plugin. Thus, I don’t have too much experience using these. The only reason I sometimes suggest them is because for some reason there are some people that don’t like using child themes.
It’s very possible your code or your settings in WP Code needs modifying to work specifically with the plugin.
If you can share the full snippet you are using and a screenshot of the settings I can be of better assistance. When sharing code please use a 3rd part site like PasteBin.
That said, if you don’t have tons of snippets on your site maybe it’s best to just use a child theme instead – https://totalwptheme.com/docs/child-theme/ – keep your site fast, less bloated and just make things a bit easier.
I am now using a child theme. I face the same issue using the snippet you shared. The issue is that the function totalthemecore_call_non_static does not exist and the AJAX scripts do not load.
I realise however that I am using the version 5.9 of the theme. Can this be the reason?
Thank you for your support and best wishes
Solved, thank you.
Hi, I updated the theme to the latest version (6.0), and everything is to the point, only that I had to adjust the font size from 2rem to 1.2rem. Thank you for your intensive crafting on the theme details.
Awesome! I’m glad to hear that and sorry for the troubles with having to tweak your body font size, it was a crucial theme change though.
- AJ
Hi, I updated the theme to the latest version (6.0). unfortunately the Wp Page bakery builder plugin, with which I’ve built the site, no longer allows me to save the changes made. The “Save changes” button no longer works, neither from the front-end nor from the back-end. Furthermore, in the “color” section the following wording appears: Javascript required. Could you help me solve the problem?
Hi,
This is AJ the theme author.
There are no known issues like the ones you mentioned. To start please try clearing your browser cache, it’s possible your browser is just loading the old WPBakery scripts and thus it won’t work.
If that doesn’t help you may need to try de-activating 3rd party plugins to see if any are breaking the latest version of WPBakery.
The issue you are having where you see the text “Javascript required” instead of the new Total color picker which looks like this: https://a.cl.ly/DOuLnwW0 (same one that Total now uses in the Customizer). Would suggest that perhaps your site has a JavaScript error and so the color picker script isn’t running and text you see isn’t being converted into the color picker component. This can happen by a caching issue or a plugin conflict as noted previously.
If you aren’t able to resolve the issue please let me know so I can help further, I may have to log into the site to see what’s going on.
- AJ
Hello, I think I’ve solved the issue by clearing the cache. Thank you
Great!
hi Aj, how are you? Just to tell you that it may be that the “back link” link stopped working, i use it in just one site and now it simply adds an ”#” to the url… don’t know yet if it could be something cache or CDN releated, but i don’t think so… Just FYI in case you want to run a test.
Hi,
If you are referring to “Back Link” setting you can set for elements like the button, I double checked and it’s working correctly.
The theme’s scripts have been optimized and so the theme’s core JS is now added in the header using the modern defer attribute.
I have seen a couple customer sites that were using an optimization plugin that was incorrectly removing the defer attribute and/or dumping the script inline. This will cause the JavaScript to load early when it shouldn’t before elements (like a back link) have been added to the page thus causing the JS to not work. In JavasScript if you target a class/element before the element has rendered then it obviously can’t locate it.
So I’m wondering if that’s the issue. If you can share the URL I can have a look and see exactly what’s going on.
- AJ
hi AJ, i tried with no litespeed and no Admin and site enhancement plugins but couldn find out the problem, this is the url: https://patrickmurguia.com/portfolio-item/last-light/
Hi,
Some plugin on your site is removing the “defer” attribute from the theme’s core JS script. This is how the file should load: https://a.cl.ly/DOuLn7jb
And this is how it’s loading on your site: https://a.cl.ly/ApuoQ2N1 – notice how your site has removed the “defer” attribute like in the screenshot from my site.
The defer attribute tells the browser to load the script as the page loads but execute once the page has rendered. This is a modern optimization for scripts. If the defer attribute is removed (like on your site) it causes the script to run immediately after it’s loaded without waiting for the page to render. This causes errors like this: https://a.cl.ly/X6uGkyDr
If the issue isn’t coming from a plugin, is it possible you have child theme code or code added in a snippet plugin that’s incorrectly modifying scripts?
- AJ
Hi, you were right; the plugin causing it was “Scroll Up Sticky Header for Total.”
It’s actually impossible for that plugin to cause the issue. There is nothing in the code that would remove the defer attribute. Most likely if disabling the plugin fixes the issue, it’s a weird side affect from the plugin or code actually causing the issue.
The plugin is used on this demo if you want to look: https://totalwpthemedemo.com/victor/ – and it does not cause the issue (again, it’s impossible because the plugin doesn’t have any code that removes script attributes). But I wanted to share if you wanted the extra proof.
If you want you can send me site logins and I can log into the site and help figure out what is actually causing the problem – https://my.totalwptheme.com/submit-help-request/ – I kindly ask that you say something like “assign to Aj” in the ticket subject or description so that the guy that helps me weed out support tickets can assign it over to me since I already have context of what’s going on.
That said, I had updated this plugin locally to be a bit more optimized for Total 6.0 and forgot to push out the update live. So thank you for the reminder!
- AJ
Hi. We have purchased the license, but the person in the business who’s account it was purchased on has been uncontactable for the last couple of days… so messaging from my account in the hope you can still help. Happy to to send proof of license somehow if needed.
The recent 6.0 and 6.0.1 updates have caused a couple of problems on this website: https://champing.co.uk/. It is using a child theme based on the Total theme
- Content has been pushed over to the right - The search function no longer works - Header / nav issues on scroll
There are a couple of issues that appear in the browser inspector/console when you press the ‘search’ icon in the header.
I Think the search issue relate to: - <script id=wpex-search-header_replace-js….>
Any help would be greatly appreciated.
Thanks Chris
Hi Chris,
- The issue with your site layout is being caused by an optimization incorrectly changing 0px to 0 in the CSS file. The problem is the theme uses “0px” for various CSS variables and for CSS calc() functions. In CSS a “0” is very different than “0px” for example if you use this CSS:
calc(100px - 0px)
The result will be 100px:
But if you do:
calc(100px - 0)
It’s actually invalid and create a CSS error.
You’ll need to disable whatever script is incorrectly changing 0px to 0 in your CSS files.
And what’s actually happening is that your stretched rows (which use complex CSS) are not placed correctly because the variable used to define the default site frame border has changed from 0px to 0. See this video: https://a.cl.ly/rRudyQPl
I noticed that the optimization plugin is not modifying the 0px values that are inside calc() functions, however, it’s modifying the ones that are set as the values for CSS variables. It shouldn’t do that either, because it’s not possible to know if those variables will then be used inside of a calc() function.
- The issue with the search icon is that whatever optimization plugin your site is using is also putting the JavaScript for the search inline – https://a.cl.ly/kpuzPW1r – but it’s impossible to defer inline scripts. So what happens is the JavaScript runs before the HTML which causes it to not only do nothing but actually trigger a console error. Any script that has a defer attribute should be excluded from being inserted inline or they should be moved to the wp_footer hook if they are added inline. Although this could potentially still cause issues. The defer attribute needs to be respected and the script should load as intended.
- AJ
ps: When inspecting the site I see it’s also trying to load 3 scripts for cookie consent that don’t exist – https://a.cl.ly/X6uGxQW1 . The scripts are being hot-linked to, so it’s possible your server is being blocked.
I would recommend whenever possible to NOT link to 3rd party scripts for various reasons, mostly site speed. That said, it’s possible you are paying for the cookiebot.com service, in which case their script may just work in this manner. If so, you may want to share the screenshot with them to see what’s going on. I’m not familiar with their services/products, but I see the errors in the console and if the cookie consent isn’t working as intended it could have legal consequences. So I wanted to let you know.https://a.cl.ly/X6uGxQW1
Thanks for your detailed reply AJ! Looks as though we might have got away with such things on the previous version and this update has found some floors with our build.
We will work through these today, hopefully it fixes things.
Thanks again for taking the time to reply
Chris
If you are using a popular Free plugin that’s causing the issues please let me know and I will test it out myself and I can report the bugs on the WordPress.org forum. I recently left a note on one of the plugins: https://wordpress.org/support/topic/plugin-removes-css-media-attribute/
- AJ
hi AJ, I tried to update my theme today and it broke my site. I was updating theme Total from 5.19 to the latest version I guess. Anyway in the top left corner (on desktop) I could see a message that said “skip to content” and my drop down menu had morphed into something wierd looking. I read through a few of the posts you have on your latest update and I can wait to update but I’m wondering if this is a typical error/issue or perhaps I have a conflict with another plugin.
By the way is there a way to just buy support? I already own several copies of Total and really don’t need another 
thanks, Debbie
Hi Debbie,
The issues you mention sounds like purely cache related. If you see the skip to content text on your site it means your site is loading old CSS files and not the newly updated CSS files. This is almost always caused by improperly setup optimization plugins that are removing script versions from files which prevents cache busting. Or it’s caused by an incorrectly formatted child theme which causes the theme’s style.css file to load without the correct version.
You’ll want to review whatever optimization plugin you are using and for starters make sure any setting named something like “remove file query versions” is NOT enabled. And then any sort of function that “combine” scripts is disabled. The later, not because it will cause caching issues but because some of the popular plugins have some bugs in their combining function and because those are old protocols that can actually slow down modern sites.
You can renew support if you wish via the button on the theme page as described here – https://totalwptheme.com/docs/renew-support-license/ – Since the theme is on sale it should only be $14.88. I always provide support regardless of the customer’s support status, but life is expensive so I do really appreciate all the support I can get. Thank you!
- AJ
Hello AJ,
I am a web developer working on a team that maintains a WP site that uses a purchased version of the Total WP theme for our client.
I am currently redesigning the search results page using a dynamic template and will be using the WPBakery page builder.
The goal is to be able to - Create 3 different dropdown menus within the same row (3 columns). - Each menu should target it’s respective taxonomy(categories, topics, regions) - Additionally each menu should be able to filter through the post card element (wpbakery) or if another grid element works best for this.
I would like to be able to create this functionality without diving into the code at the template level in order to be mindful of any non-coders that may need to tweak later. I believe using code within the page setting should be okay.
I have been researching/reviewing videos and haven’t found much luck and wondered if this was even possible. If there is a way would you mind guiding me through the best way to achieve this or point me in the right direction?
Thank you so much! Chan
Currently on Testing/Stage site: https://testing.justassociates.org/
Hi Chan,
I need a password to view the page you mention so I’m not sure what you are working with.
The main question I have is: Do you want to refresh the results page or refresh the cards using AJAX?
Before getting into this though, I would probably recommend using a custom /search/ page instead of the native WordPress search so you have more control and so it’s a bit better for SEO. But also based on what you said it sounds like you only want to filter posts and not pages. So you may want to leave the default WP search results so it works with all post types and have a separate filterable page just for posts.
The easiest ways to create a filterable grid is using this popular plugin – https://wordpress.org/plugins/search-filter/ – which can be used with the Post Cards element (I’ve tested it).
Total does has some filtering options built-in that can be done via WPBakery without any custom code – https://totalwptheme.com/docs/post-cards-ajax-filter/ – but nothing like what you are asking.
However, there is a JS script available that can be used for advanced AJAX filtering and I have some sample code here: https://gist.github.com/wpexplorer/e95f2bc43c82a227787e8ae0d8a87432 – I have plans in the future to add a elements for building advanced filters, but it’s a bit low on the priority list right now so I’m not sure when I’ll get to it. Perhaps next year. But the script needed and the PHP to filter the items already exists in the theme.
If you don’t want AJAX filtering the easiest thing to do is to just code your custom dropdowns with a little Javascript (chat CPT could even give you the code probably) so that when you choose filters it refreshes the page with the parameters added to the URL. Then you can filter the results either by hooking into”pre_get_posts” if it’s the default search results or “totalthemecore/vcex/post_query/args” if it’s a custom page using the theme’s Post Cards element with a custom query.
If the site is using the latest version of the theme you can use the new Horizontal Menu to create your dropdowns. Unless you have tons of categories/tags that you don’t want to have to create the menus manually. Or if you don’t want your client to have to In which case the best is to create your own shortcode for these. And instead of a row with 3 columns you can use the theme’s Grid Container to insert your 3 dropdowns – this gives you a bit more control over the spacing and such then WPBakery rows.
- AJ
Hi Aj
Thank you for your recommendation’s. I will consult with the web team about next steps and will return if there are any additional questions.
-Chan
I got and replied to a private support ticket regarding this matter 
- AJ
Hi AJ
Can you take a look at this site in early dev. I’ve used the “wave brush” divider but it has a small issue. If you drag the browser width around, a one pixel horizontal line appears / disappears.
https://pjl-13pt.temp-dns.com/Present in Chrome and Firefox.
Here’s a screenshot:
https://ibb.co/WPGpsy4Any idea what’s causing that?
Thanks
James
While I’ve got you … any plans to include the “Badge” with the headings in feature boxes? As you can see I’ve used them in the heading elements, but haven’t been able to do so in the feature boxes – unless you know a way ? :-))
Hi James,
- I’m using the latest version of Chrome and Firefox and I don’t have this bug. It’s clearly a visual bug which has to due to GPU rendering. It’s likely an issue with the device. I can send you a video of me resizing the browser so you can see it works fine for me. And maybe you’ll want to test on other devices. However, you could probably just ignore it…Most people aren’t sitting there resizing the browser and if they do, they do they won’t care about this if the line is not visual after the resize. It’s not a site breaking bug either.
What I’m thinking is happening is that the 1px is actually from the background that’s behind the SVG making it’s way “to the front” – just a visual glitch with the rendering.
- No plans, but the badge is just a span with the classname “wpex-badge”, so you can add them in any text field. The easiest is using the span shortcode like this:
Your Heading [span class="wpex-badge"]Badge[/span]
- AJ
Hi AJ
I’ve tested it on a few Windows machines (desktop and laptop), and this fault is present on them all.
At certain screen sizes the fault is there without having to drag the browser. I only mentioned dragging the browser as that is how to spot the issue. I know people won’t do that but the point is some people will see the fault by default.
Are you not seeing this on Windows? Or are you using Macs?
Not sure I can ignore it because it’s more noticeable with certain colours than others.
It looks like the background colour of the row is spilling outside the wave brush effect – by one pixel – and only on certain screen sizes.
I guess it’s probably a bug outside your control, but it’s not just my devices.
I’ll experiment with negative margins and stuff to see if I can make it go away.
Thanks re the badge tip!
James
Hi James,
Actually I was just now able to recreate it on Edge at a specific screens size, it’s very hard to see though. I also turned up my screen brightness all the way to see it.
I made the background red so it’s more obvious and recorded a video: https://a.cl.ly/o0u1NBxz
So it seems to be a browser bug with the width computation (very strange that the width would cause this). The theme actually uses this specific width in order to address subpixel rendering issues in certain browsers. It’s possible the theme no longer requires this “hack” but I will have to test using only width 100% in all browsers with all the different shape dividers to see if I can finally change that.
If you want though you can try adding this CSS to your site and let me know if it renders well for you:
.wpex-shape-divider svg { width: 100%; }
It’s possible though that the browser is just “fixing” itself when I change the width attribute in the console and the width isn’t the actual cause of the glitch.
When you have complex SVG’s that span the width of the site the browser needs to resize the SVG to fit in the container and when you resize to a width that is fractional it can sometimes cause the browser to render the SVG a bit poorly. Some browsers handle it better than others. The same sort of thing happens also when you display large images on a site they can appear a bit “fuzzy” when displayed at smaller sizes because of the downsizing.
- AJ
Hi AJ,
Thanks, but that CSS made no difference.
This is early stage development so I will have to decide whether it bothers me enough to change. It’s one of those things that no one else will notice, but now I’ve seen it I can’t unsee it 
That’s the problem with subpixel rendering bugs, it’s so dependent on the computer and the browser. I tested myself and setting the SVG to 100% does fix the issue. You can see it in the video I sent previously as well.
The wave brush is a very complex SVG so it’s possible that is contributing to the issue as there is a lot computation involved in properly shrinking the graphic down. Some browsers/devices will handle this better than others. Another thought is to just x-out the shape divider – flat design is back in style anyway.
- AJ
Doing some further testing this CSS does seem to fix it:
.wpex-shape-divider-top { top: -1px; }
.wpex-shape-divider-bottom { bottom: -1px; }
I’m going to do more testing but will likely be applying this in the upcoming patch tomorrow. I really don’t understand why it does the trick but it seems to work.
Ok, I know exactly what’s going on…It is a browser sub-pixel rendering bug that happens when the height of the divider is automatic (default) because the height will change based on the width so you may end up with a fractional height.
Adding a negative margin helps alleviate the issue (which I will likely add in the upcoming patch) but also giving your divider a fixed height will also fix the issue: https://a.cl.ly/GGubXK8Q
Just that when you give it a fixed height it will remain the same across all screen sizes (not sure if you want that).
Thanks AJ, I used the CSS fix, it works!
Hey,
Glad that works! I’m releasing the Total 6.0.2 update with the official fix. I actually decided to use negative margin instead of positioning so when you do update to the next version you may want to remove this CSS because it will cause 1px of extra offset that’s not required (not a big deal, but wanted to give you the heads up).
- AJ
Hello AJ,
I’m excited to be using version 6.0 of the Total theme—it’s amazing to see all the new features you’ve added!
I’m currently using a customized header from your awesome header patterns and want to add the “off-canvas” option next to the default navigation. However, instead of displaying menu items in the side menu when clicking the off-canvas icon, I’d like to include custom HTML or something else (like a widget, as widgets allow for custom HTML).
Is there a way to achieve this? Thanks for your help!
Awesome 
I have plans of adding a new Off Canvas element for custom content in the future. It would essentially work by selecting a dynamic template “Part”. But it wasn’t a huge priority for me to get 6.0 released so I didn’t want to delay the update any longer.
That said it’s very easy to create your own shortcode using the theme’s available functions. I created a custom snippet for the meantime: https://totalwptheme.com/docs/snippets/custom-off-canvas-shortcode/
If you want to add your own element for this. If you have any issues with or questions about the code let me know!
- AJ
Hello AJ,
Thank you for the great and quick support as always! So, after adding the snippet you provided to my child theme’s functions.php, I understand I need to create a dynamic template with my custom code. But how can I then append this dynamic template to the off-canvas menu?
You just need to change this line:
$off_canvas_content = do_shortcode( '[wpex_template id="ID"]' ); // Change ID with your dynamic template to for the off canvas content..
And replace “ID” with your dynamic template ID as noted in the comment. I commented out the snippet so that you would know how to tweak things, please have a look and let me know if you have any questions or issues!
And of course you do NOT have to use a dynamic template you can set the $off_canvas_content variable to anything you want. This could be a widgetized sidebar, a child template file, plain text, etc.
- AJ
Hi, I’ve already tried using simple text for $off_canvas_content = ‘test’; , but I might be doing something wrong. I still see the menu items when the off-canvas menu opens, instead of my test content, even after assigning the “my-off-canvas” ID to the off-canvas menu element settings.
Could you please let me know what I might be missing? Thank you
Hi,
The code I sent you creates a new custom shortcode (element) so it doesn’t work with the existing Off Canvas element.
When you use the snippet you would then insert the [my_off_canvas_shortcode] shortcode wherever you want to display your custom off-canvas toggle button.
You can also (and should) of course edit the code to change “my_off_canvas_shortcode” to any name you want. When creating snippets it’s common practice to use “my_” as a general prefix. Which the user should then change that to something else. So maybe you would change it to “mindseedgr_off_canvas” or something more relevant to it’s usage.
Make sense?
- AJ
Hi,
Now I understand it correctly—sorry for any inconvenience!
If I want to change the custom canvas icon or adjust the left/right position, I suppose I need to add or edit $off_canvas_args, right?
Thanks again for your help!
All right, I made the changes I wanted by adding more arguments to the snippet! Everything is working perfectly now!
Awesome!
Hi AJ,
A few weeks back, (closer to when you released 6.0), you had noted that the default search form will use the classname “searchform—classic” which will give it that “default” theme search field look with the search icon on the right.
Just checking if that was implemented as I don’t see the change on my side.
Thanks!
Hi,
This was implemented. You can see this if if you inspect the file at Total/searchform.php which looks like this: https://a.cl.ly/X6uGx8L1
That said, this class ONLY added to the base search form. So the searchform added to the header using the theme’s option to enable a search icon such as the one on this demo: https://totalwpthemedemo.com/square-media/ – will not have the class you refer to. This is because the whole point of the changes was to slim down theme CSS and make overrides easier.
If those changes aren’t showing up on your site it’s either because the form you are looking at shouldn’t have the classname or your child theme is overriding the searchform.php file and needs updating.
Feel free to share the URL if you want me to take a look.
- AJ
Hi AJ,
Quick bug report—when adding an WPBakery Total Alert component in the Backend Editor . If you’re enter only a header without content the component will not display, you can enter content without a heading, but not the opposite.
Cheers
That is intended behaviour. The heading is to be an addition to the actual alert content.
There is no reason to have a heading if you don’t have any message. If all you want to do is make your alert “stand out” by having bolder/larger text then you can just modify the content’s typography and not use a heading.
If you believe it should work differently, please share your thoughts. From my point of view, it’s working exactly as it should.
- AJ
Sure. So, from my end it’s a strange behavior to have a field you can enter text to and have it not appear when it’s published. I understand you had a different process in mind, but when you present a user with a field and you can enter information into that field, and suddenly it doesn’t appear without any explanation or reason. It simply seems to be a bug.
Are there any other components that have this same behavior? Just from memory, no other component comes to mind, every time you enter text somewhere, it will appear
Cheers
I can definitely understand the confusion. Maybe I’ll have the heading field hide if the content is empty or change the description so it’s clear.
Thank you for the feedback!
I noticed on the last update that you don’t recommend using Slider or templatera. I understand the first, but rely on templatera. What is the alternative to using it? What are the advantages?
Hi,
Maybe I need to re-write the notice for Templatera. It’s not that I don’t recommend installing the plugin it’s just that it’s generally not needed.
If you are creating dynamic templates for your site then you can just use the theme’s built-in Theme Panel > Dynamic Templates (a long time ago the theme didn’t have these so it relied on Templatera).
If you are using Templatera to basically create “patterns” that you insert into pages/posts that’s totally fine and you can do that. But is that really something you should be doing?
From my experience customers using Templatera are doing so to create patterns and then manually insert those every single time they create a new post (usually a custom post type) which means if they ever want to update all those posts they need to do it manually. So by not recommending Templatera I’m hoping to get people to instead create dynamic templates that are applied globally and can be controlled globally to prevent the lock-in affect.
Would love to hear your thoughts on that. Thanks!
- AJ
Hi
As you know, I am a very simple, not very technical, but delighted user of Total.
I don’t know what you mean by patterns. This is how I use Templatera. I build my footer and header in their, linked to the theme footer and header builders. I also create my CTAs in Templatera and add them to my pages using the Templatera element. When I change the header, footer or CTAs in Templatera, they change on the page.
If there is a better way to do this – especially if it improves speed – then I would be happy to change. But I have looked at dynamic templates and don’t see how to use them in this way.
m
Hi,
Oh ok, thank you for the explanation!
Patterns are basically pre-built layouts you can use when building your pages to make things faster. See here:
Some customers create custom “patterns” using templatera. But you are using templatera in a “dynamic” way.
So everything you are doing can be done using the theme’s built-in Dynamic Templates 
If you want you can use the button to import your templatera templates into the Dynamic Templates and then remove the plugin to slim down your site. Here is a sample video showing how to import them: https://a.cl.ly/GGubPxkn
If you were using Templatera for your header/footer you can then edit them to select the correct “Template Type” after importing them and save. This will keep your site better organized. Because functions like the Header Builder select option by default only displays templates defined as “Header” type so it keeps things slimmer.
When you create CTA’s what you would do instead of using the Templatera element is use the theme’s “Template Part” element which allows you to select a Dynamic Template “Part” type. Sample video: https://a.cl.ly/E0uN2dbn
And when you disable Templatera the theme actually registers the Templatera shortcode so you don’t have to go around and locate old CTA’s that were using the Templatera element to update them, so they will keep showing up on the site. You only need to use the Template Part element when inserting new ones.
Hope that makes sense! Let me know if you have any questions!
- AJ
Thank you so much, that was so straight forward and I am sure will help with speed. I also took the prompt to turn off more ‘stuff’ using the Theme Panel. Cheers m
Awesome!
ps: I am planning on selling a site optimization service where I go in check all settings to optimize their theme and website, go through all plugins, install and setup WPRocket for them (if they aren’t already using it as an alternative to the free optimization plugin they are using or if they aren’t using any), check their child theme for any errors or optimizations, optimize the images on their site and provide any feedback or suggestions. Hopefully it’s something that people would be interested in 
Put my name on the list. I’d love to be clear if your service will include reviewing Google suggestions for speed improvements too.
Yes, part of the service would be to maximize your Google page speed score 
If you want email me at wpexplorer@gmail.com – If there is a specific site in question you want to optimize now, maybe I can use your site as a trial run at a discounted price.
The end goal is for me to offer the service at a reasonable price so freelancers/developers buying Total could offer the service to their client at a slightly higher price, pay me and then they can keep the difference.
I will try and have a landing page setup by Jan 1st though. It will be an exclusive service that only I will do (I won’t hire people in other countries to do the work for me for cheap). And I will likely just have a form submission if you are interested and send invoices manually via Paypal.
- AJ
email sent
I never got any email : (
Did you send it directly to wpexplorer@gmail.com?
I’d like to add a drop shadow and a gradient background to all buttons on my site. Can you let me have the CSS to do this – do I add it to the customeriser?
Sure thing:
.theme-button, .button, .added_to_cart,
button:where([type=submit],[type=reset]):where(:not(.wpex-unstyled-button)), input:where([type=submit]):where(:not(.wpex-unstyled-button)), .wp-element-button, .wp-block-button__link {
--wpex-btn-img: linear-gradient(to right, #a1c4fd 0%, #c2e9fb 51%, #a1c4fd 100%);
--wpex-hover-btn-img: linear-gradient(to right, #a1c4fd 0%, #c2e9fb 51%, #a1c4fd 100%);
--wpex-active-btn-img: linear-gradient(to right, #a1c4fd 0%, #c2e9fb 51%, #a1c4fd 100%);
box-shadow: var(--wpex-shadow-lg);
}
Then modify the code accordingly so it uses the shadow and colors you want. As you can see in the example I’ve defined the same gradient for all button states (default, hover, active) – you can remove the hover and active ones if you want the buttons to look the same always or modify them to be different.
You can add this under Theme Panel > Custom CSS – this is the easiest.
I will look into at least adding the box-shadow option for buttons in the Customizer, this is a great idea!
- AJ
Thank you so much. m
No problem!
Hi! When the icons were a font, I could add them using CSS. Now that they’re SVG, the icons I added that way no longer display.
Is there any way to keep doing the same thing?
That gave me a lot of flexibility in designing my elements.
Hi,
This is AJ the theme author. I”m going to basically copy/paste/tweak my response to another customer that had the same question:
The theme has been updated to use SVG icons which was a highly requested change for years because using font icons is much slower and bloated as opposed to only loading icons you need on your site via SVG’s.
It’s a little bit of a pain (I understand) if you were using CSS because now the theme’s font icons aren’t loaded on the site so you will need to tweak your CSS a bit to use SVG’s as well.
I can create and give you a plugin that loads the old icon CSS (let me know if you want this) so you can just enable it on your site. But then you lose the benefits of a faster site and higher page speed score.
Instead recommend instead changing your CSS to use SVG’s.
For example to add an arrow on the right of an element named “my-element” you can use something like this:
.my-element::after {
content: '';
display: inline-block;
margin-inline-start: 10px;
width: 1em;
height: 1em;
background-color: currentColor; /* Inherits the text color of the element */
-webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 448 512%27%3E%3Cpath d=%27M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z%27/%3E%3C/svg%3E');
-webkit-mask-repeat: no-repeat;
-webkit-mask-size: contain;
mask-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 448 512%27%3E%3Cpath d=%27M438.6 278.6c12.5-12.5 12.5-32.8 0-45.
}
This is the modern way of adding icons with CSS without having to load a whole massive font icon set. Which requires not only extra font files but also CSS files. SVG’s are added as inline code so only the code for the icons used for the site will be added to the site and doesn’t require additional font/CSS parsing. It’s much better.
I am sorry for the troubles this causes when updating. But I really wanted to bring Total to modern standards and provide my users with faster sites and higher page speed scores.
If you do update your CSS to use SVG icons I recommend these sources to get SVG’s:
https://fontawesome.com/ https://fonts.google.com/icons?icon.set=Material+Symbols https://icons.getbootstrap.com/And you can just copy the SVG and ask ChatGPT to give you the CSS to speed things up.
But if you really want to go back to the “old way” I will make and zip over a plugin to you that loads the old font files.
- AJ
Hello AJ,
Switching to SVG is great for the reasons you mentioned. My intention isn’t to go back to using icons as a font; I just wanted some advice to adapt to the new system, and you provided that.
I’ll make the necessary adjustments to apply your advice.
Keep up the good work!
Great! If you need any help with the CSS please let me know 
- AJ