Support Forum404 Page + Visual Composer Custom CSS – Support Forum https://support.ishyoboy.com/forums/topic/404-page-visual-composer-custom-css/feed Wed, 05 Feb 2025 14:57:46 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/404-page-visual-composer-custom-css/#post-7643 <![CDATA[404 Page + Visual Composer Custom CSS]]> https://support.ishyoboy.com/forums/topic/404-page-visual-composer-custom-css/#post-7643 Thu, 09 Apr 2015 17:55:48 +0000 dalenat Hi,

I’m really happy that you have developed an easy way for us to customize the 404 page. Everything looks good except that the custom CSS I have inserted into the visual composer module isn’t being pulled when the 404 page error actually happens. What I mean is that my site on the actual 404 page works:
https://stg3.utahwebhosting.net/404-2/

while on a realistic 404 like this:

https://stg3.utahwebhosting.net/asdasd

the custom style overrides I made do not show. If you compare the two links, the container holding the social media icons are still the default green while my override makes it light blue. Can you please help me out? ^_^ <3

]]>
https://support.ishyoboy.com/forums/topic/404-page-visual-composer-custom-css/#post-7655 <![CDATA[Reply To: 404 Page + Visual Composer Custom CSS]]> https://support.ishyoboy.com/forums/topic/404-page-visual-composer-custom-css/#post-7655 Fri, 10 Apr 2015 07:30:09 +0000 IshYoBoy Hi,

Thanks for noticing that. You are right. You can quickly fix this by doing the following.

1. When an error page occurs the classname “error404” is added to the body so you can use it for styling.
2. Take the Custom CSS you have used for the 404 page from the page and either move it to “Theme Options -> General Options -> Custom CSS” or to the “child-theme.css” of the starter child theme which came with Boldial. This CSS will be output on every page but you can use the classname above to target the 404 page only.

So instead of the code you have right now:

Use the following:

This should fix it ;)

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>