<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tips and Tricks - Apex Web Solutions</title>
	<atom:link href="https://apexweb.io/category/tips-and-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>https://apexweb.io</link>
	<description>Web Development and Design</description>
	<lastBuildDate>Fri, 30 Oct 2020 02:22:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8</generator>

<image>
	<url>https://apexweb.io/wp-content/uploads/2020/09/cropped-Favicon-1-32x32.png</url>
	<title>Tips and Tricks - Apex Web Solutions</title>
	<link>https://apexweb.io</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Fixing The Gap Issue in Oxygen Builder</title>
		<link>https://apexweb.io/fix-white-gap-space-oxygen/</link>
					<comments>https://apexweb.io/fix-white-gap-space-oxygen/#respond</comments>
		
		<dc:creator><![CDATA[Alec Gall]]></dc:creator>
		<pubDate>Wed, 21 Oct 2020 03:07:14 +0000</pubDate>
				<category><![CDATA[Oxygen Builder]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<guid isPermaLink="false">https://apexweb.io/?p=312</guid>

					<description><![CDATA[Hey everyone! This is just a quick one today. You probably know what I'm talking about when I say the "gap issue". It's when you have a sometimes small, sometimes large, space on the side of your page (usually in the smaller viewports) created with Oxygen Builder. The white space is almost always caused by [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Hey everyone! This is just a quick one today. You probably know what I'm talking about when I say the "gap issue". It's when you have a sometimes small, sometimes large,  space on the side of your page (usually in the smaller viewports) created with Oxygen Builder. </p>



<p>The white space is almost always caused by one of your elements having a set width that is too high for the size of the screen. Browse through all your elements, especially ones you recently edited, and check for something width hard set in pixels. That's the most likely culprit. It can still happen if you're using percent widths and other units as well, but it happens a lot with specific pixel widths if you forget to set lower widths for smaller viewports.</p>



<p>If there are some elements stretched out into the white space you can generally safely assume that those elements are the ones you need to fix.</p>



<p>If it's not obvious what element is causing the gap, there is an easy strategy to make it a little bit easier to see. Go ahead and open up your web browser's dev tools then select the &lt;head&gt; tag. From there, add the following code to the *::before, *::after selector:</p>



<div class="wp-block-codemirror-blocks-code-block code-block"><pre class="CodeMirror" data-setting="{&quot;mode&quot;:&quot;css&quot;,&quot;mime&quot;:&quot;text/css&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;CSS&quot;,&quot;modeName&quot;:&quot;css&quot;}">border:1px solid red</pre></div>



<figure class="wp-block-image size-large is-style-default"><img loading="lazy" width="1024" height="498" src="https://apexweb.io/wp-content/uploads/2020/10/chrome_giCuQhdBw1-1024x498.png" alt="Oxygen Builder Gap Issue" class="wp-image-519" srcset="https://apexweb.io/wp-content/uploads/2020/10/chrome_giCuQhdBw1-1024x498.png 1024w, https://apexweb.io/wp-content/uploads/2020/10/chrome_giCuQhdBw1-300x146.png 300w, https://apexweb.io/wp-content/uploads/2020/10/chrome_giCuQhdBw1-768x374.png 768w, https://apexweb.io/wp-content/uploads/2020/10/chrome_giCuQhdBw1-1536x747.png 1536w, https://apexweb.io/wp-content/uploads/2020/10/chrome_giCuQhdBw1.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" title="Fixing The Gap Issue in Oxygen Builder 1"></figure>



<p>This will add a red border around every element on the page to make it a little more obvious which elements are stretching over the edge. You can also accomplish the same by <a href="https://apexweb.io/hoverify-review/#grid-view" class="rank-math-link">toggling the gridlines feature in Hoverify</a> if you have that browser extension.</p>



<p>Thanks to <a aria-label="Supamike  (opens in a new tab)" href="https://oxygen4fun.supadezign.com/tips/how-to-fix-the-gap-problem-on-mobile-view" target="_blank" rel="noopener" class="rank-math-link">Supamike </a>for that idea!</p>



<p>I hope this helps some people!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://apexweb.io/fix-white-gap-space-oxygen/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>My Favorite Cool JavaScript Libraries</title>
		<link>https://apexweb.io/my-favorite-cool-javascript-libraries/</link>
					<comments>https://apexweb.io/my-favorite-cool-javascript-libraries/#respond</comments>
		
		<dc:creator><![CDATA[Alec Gall]]></dc:creator>
		<pubDate>Sat, 03 Oct 2020 02:51:41 +0000</pubDate>
				<category><![CDATA[Tips and Tricks]]></category>
		<guid isPermaLink="false">https://apexweb.io/?p=379</guid>

					<description><![CDATA[Hey everyone! Today I'm putting together a list of my favorite JavaScript libraries out there. For this post, I'm focusing on cool, small, design-focused libraries, not entire frameworks like React, Node, etc. Similarly to my post about my favorite design tools and generators, this list is in no particular order! Particles.js Particles.js is a library [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Hey everyone! Today I'm putting together a list of my favorite JavaScript libraries out there. For this post, I'm focusing on cool, small, design-focused libraries, not entire frameworks like React, Node, etc. Similarly to my post about <a href="https://apexweb.io/my-favorite-design-tools-and-generators/" class="rank-math-link">my favorite design tools and generators</a>, this list is in no particular order!</p>


				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1   uagb-block-5a1d53b5 " 
					data-scroll= "1"
					data-offset= "30"
					data-delay= "800"
				>
				<div class="uagb-toc__wrap">
					<div class="uagb-toc__title-wrap">
						<div class="uagb-toc__title">
							Table Of Contents						</div>
													<span class="uag-toc__collapsible-wrap">			<svg xmlns="https://www.w3.org/2000/svg" viewBox= "0 0 320 512"><path d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"></path></svg>
			</span>
												</div>
										<div class="uagb-toc__list-wrap">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#particlesjs">Particles.js</a><li class="uagb-toc__list"><a href="#typedjs">TypedJS</a><li class="uagb-toc__list"><a href="#morphtext">Morphtext</a><li class="uagb-toc__list"><a href="#twentytwenty">TwentyTwenty</a><li class="uagb-toc__list"><a href="#fullpage">FullPage</a><li class="uagb-toc__list"><a href="#masonry">Masonry</a><li class="uagb-toc__list"><a href="#greensock">GreenSock</a><li class="uagb-toc__list"><a href="#chartjs">Chart.js</a><li class="uagb-toc__list"><a href="#tippyjs">Tippy.js</a><li class="uagb-toc__list"><a href="#lightbox">Lightbox</a></ol>					</div>
									</div>
				</div>
			


<h2>Particles.js</h2>



<p><a href="https://vincentgarreau.com/particles.js/" target="_blank" aria-label=" (opens in a new tab)" rel="noopener" class="rank-math-link">Particles.js</a> is a library for generating cool, animated, and interactive particle effects. I've been using this one on my website's<a href="https://apexweb.io/" target="_blank" aria-label=" (opens in a new tab)" rel="noopener" class="rank-math-link"> homepage </a>for the last two years, so you can check it out there! There's a lot you can do with it if you're creative with the settings. I've written a guide for using this one in Oxygen Builder which you can <a href="https://apexweb.io/adding-particle-backgrounds-in-oxygen-with-particles-js/" target="_blank" aria-label=" (opens in a new tab)" rel="noopener" class="rank-math-link">find here</a>.</p>



<h2>TypedJS</h2>



<p><a href="https://mattboldt.com/demos/typed-js/" target="_blank" aria-label=" (opens in a new tab)" rel="noopener" class="rank-math-link">TypedJS </a>is for creating some animated text that looks like it's being typed on a keyboard. For reference, I am also using this one on my site right now in the top left corner and have been for the last two years!</p>



<h2>Morphtext</h2>



<p><a href="https://morphext.fyianlai.com/" target="_blank" aria-label=" (opens in a new tab)" rel="noopener" class="rank-math-link">Morphtext </a>is another library for animating text. This one is based on the open-source animate.css that a lot of other libraries use and makes it easy to rotate some words in and out with nice animations.</p>



<h2>TwentyTwenty</h2>



<p><a href="https://zurb.com/playground/twentytwenty" target="_blank" aria-label=" (opens in a new tab)" rel="noopener" class="rank-math-link">TwentyTwenty </a>is my favorite before/after slider. It stacks the two images on top of each other then gives the user a slider bar that they can drag left and right to reveal/hide the other image. It looks great and works great!</p>



<h2>FullPage</h2>



<p><a aria-label="FullPage  (opens in a new tab)" rel="noopener" class="rank-math-link" href="https://alvarotrigo.com/fullPage/" target="_blank">FullPage </a>changes how scrolling works on your site. You basically turn the site into pages to scroll through rather than one solid page. One scroll down of the wheel will scroll you to the next page and so on. This one isn't free, but it isn't expensive either.</p>



<h2>Masonry</h2>



<p><a aria-label="Masonry (opens in a new tab)" rel="noopener" class="rank-math-link" href="https://masonry.desandro.com/" target="_blank">Masonry</a> is a grid layout library that automatically moves and resizes elements around optimally to fit the space they're in. This is a great way to show a list of blog posts or cards of some sort.</p>



<h2>GreenSock</h2>



<p><a href="https://greensock.com/" target="_blank" aria-label=" (opens in a new tab)" rel="noopener" class="rank-math-link">GreenSock </a>is an exceedingly easy way to add staggered / scroll-driven animations to your site. It does a lot more than that in the world of animation as well, but I haven't explored farther than the staggered / scroll-triggered animations.</p>



<h2>Chart.js</h2>



<p><a href="https://www.chartjs.org/" target="_blank" aria-label=" (opens in a new tab)" rel="noopener" class="rank-math-link">Chart.js</a> is a cool and easy way to make a few different types of charts that can be interactive and animated.</p>



<h2>Tippy.js</h2>



<p><a href="https://atomiks.github.io/tippyjs/" target="_blank" aria-label=" (opens in a new tab)" rel="noopener" class="rank-math-link">Tippy.js</a> makes it super easy to add tooltips to any element on your site. You can have this set up in seconds.</p>



<h2>Lightbox</h2>



<p><a href="https://lokeshdhakar.com/projects/lightbox2/" target="_blank" aria-label=" (opens in a new tab)" rel="noopener" class="rank-math-link">Lightbox </a>is exactly what you think it is. It's the original lightbox script for adding a lightbox effect to an image. If you don't know what lightbox means, basically, when you click on the image it will open up a bigger version of the image for the user to look at.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://apexweb.io/my-favorite-cool-javascript-libraries/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Enqueue Scripts and CSS in Oxygen (The Right Way)</title>
		<link>https://apexweb.io/enqueue-scripts-css-oxygen-builder/</link>
					<comments>https://apexweb.io/enqueue-scripts-css-oxygen-builder/#comments</comments>
		
		<dc:creator><![CDATA[Alec Gall]]></dc:creator>
		<pubDate>Sun, 27 Sep 2020 22:33:30 +0000</pubDate>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Oxygen Builder]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[enqueue]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[oxygen]]></category>
		<category><![CDATA[scripts]]></category>
		<guid isPermaLink="false">https://apexweb.io/?p=193</guid>

					<description><![CDATA[Hey everyone! Today I'm going to walk you through the "correct" way to import resources in WordPress for sites using Oxygen. Normally we would enqueue our resources in the functions.php file of our theme. As you likely know, Oxygen completely disables the normal WordPress theme system, so we need to be a little more creative. [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Hey everyone! Today I'm going to walk you through the "correct" way to import resources in <a rel="noopener" href="https://wordpress.org/" target="_blank">WordPress </a>for sites using <a rel="noopener" href="https://oxygenbuilder.com/" target="_blank">Oxygen</a>. Normally we would enqueue our resources in the functions.php file of our theme. As you likely know, Oxygen completely disables the normal WordPress theme system, so we need to be a little more creative. The solution is to create your own very basic plugin that just <a rel="noopener" href="https://developer.wordpress.org/themes/basics/including-css-javascript/" target="_blank">enqueues</a> your resource files. This is very simple to do and I'll give you all the code and examples you need to get the job done!</p>


				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1   uagb-block-a4c3a05d " 
					data-scroll= "1"
					data-offset= "30"
					data-delay= "800"
				>
				<div class="uagb-toc__wrap">
					<div class="uagb-toc__title-wrap">
						<div class="uagb-toc__title">
							Table Of Contents						</div>
													<span class="uag-toc__collapsible-wrap">			<svg xmlns="https://www.w3.org/2000/svg" viewBox= "0 0 320 512"><path d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"></path></svg>
			</span>
												</div>
										<div class="uagb-toc__list-wrap">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#1-create-the-files-and-directories">1. Create the Files and Directories</a><li class="uagb-toc__list"><a href="#2-add-resources-to-your-directories">2. Add Resources to Your Directories</a><li class="uagb-toc__list"><a href="#3-add-the-basic-code-for-pluginphp">3. Add the Basic Code For plugin.php</a><li class="uagb-toc__list"><a href="#4-add-your-enqueues">4. Add Your Enqueues</a><li class="uagb-toc__list"><a href="#5-install-your-plugin">5. Install Your Plugin</a><li class="uagb-toc__list"><a href="#how-to-edit-the-plugin-to-add-more-later">How to Edit the Plugin to Add More Later</a></ol>					</div>
									</div>
				</div>
			


<h2>1. Create the Files and Directories</h2>



<p>First things first, let's create the files and directory structure that we'll need. Create a folder on your desktop (or wherever you prefer) and name it something like "resource-enqueuer". Inside that folder, create a file called "plugin.php" and another folder called "assets". Inside the assets folder, I recommend creating some more sub-directories like "css", "js", etc. depending on what kind of resources you are working with. It's not totally necessary if you only have a few files, but it's best practice to keep things organized.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="531" height="209" src="https://apexweb.io/wp-content/uploads/2020/09/explorer_p78GmvEn3w.png" alt="Create files for Resource Enqueue plugin" class="wp-image-206" srcset="https://apexweb.io/wp-content/uploads/2020/09/explorer_p78GmvEn3w.png 531w, https://apexweb.io/wp-content/uploads/2020/09/explorer_p78GmvEn3w-300x118.png 300w" sizes="(max-width: 531px) 100vw, 531px" title="How to Enqueue Scripts and CSS in Oxygen (The Right Way) 2"></figure>



<h2>2. Add Resources to Your Directories</h2>



<p>Simply place the JS and CSS files you need in their respective directories in the plugin folder. </p>



<figure class="wp-block-image size-large"><img loading="lazy" width="528" height="216" src="https://apexweb.io/wp-content/uploads/2020/09/explorer_nvIvbyv512.png" alt="Place resources inside resource enqueue plugin sub-directories" class="wp-image-204" srcset="https://apexweb.io/wp-content/uploads/2020/09/explorer_nvIvbyv512.png 528w, https://apexweb.io/wp-content/uploads/2020/09/explorer_nvIvbyv512-300x123.png 300w" sizes="(max-width: 528px) 100vw, 528px" title="How to Enqueue Scripts and CSS in Oxygen (The Right Way) 3"></figure>



<h2>3. Add the Basic Code For plugin.php</h2>



<p>Alrighty, if you've never coded anything before this will be the trickiest part, but trust me it's very simple! I'm going to lay everything out as simply as possible. First, copy and paste the code below into your new plugin.php.</p>



<div class="wp-block-codemirror-blocks-code-block code-block"><pre class="CodeMirror" data-setting="{&quot;mode&quot;:&quot;php&quot;,&quot;mime&quot;:&quot;text/x-php&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;PHP&quot;,&quot;modeName&quot;:&quot;php&quot;}">&lt;?php
/*
Plugin Name:	Resource Enqueuer
Description:	Enqueues Resource Files
*/

//You can ignore this, but don't forget to include it. 
//It helps prevent people from directly executing your code.
if ( ! defined( 'WPINC' ) ) {
	die;
}

add_action( 'wp_enqueue_scripts', 'resource_enqueuer' );

function resource_enqueuer() {

	//Put your CSS enqueues under here



	//Put your JS enqueues under here


}</pre></div>



<h2>4. Add Your Enqueues</h2>



<p>Next, we're going to add our enqueues to the plugin.php file. This is where you're going to need to pay attention a little more, as everyone's case is slightly different and you need to insert the correct names of your files. Below I've written out a few examples of what your enqueue calls should look like for CSS / JS files and if you have your files locally saved or on a CDN.</p>



<div class="wp-block-codemirror-blocks-code-block code-block"><pre class="CodeMirror" data-setting="{&quot;mode&quot;:&quot;php&quot;,&quot;mime&quot;:&quot;text/x-php&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;PHP&quot;,&quot;modeName&quot;:&quot;php&quot;}">//CSS enqueue from directory
wp_enqueue_style( 'YourCssSheetName', plugin_dir_url( __FILE__ ) . 'assets/css/yourfilename.css' );

//CSS enqueue from CDN link
wp_enqueue_style( 'YourCssSheetName', 'https://yourcdnlink.com/yourfile.css' );

//JS enqueue from directory
wp_enqueue_script( 'YourJsScriptName', plugin_dir_url( __FILE__ ) . 'assets/js/yourfilename.js', '', '', true );

//JS enqueue from CDN link
wp_enqueue_script( 'YourJsScriptName', 'https://yourcdnlink.com/yourfile.css', '', '', true );</pre></div>



<p>Additionally, you might want to enqueue some resources only on specific pages. Below I've provided some examples of some conditional statements to help you do that! Simply place your enqueues inside the necessary <a href="https://codex.wordpress.org/Conditional_Tags" target="_blank" rel="noopener">conditionals </a>to make your resources load only on the pages you need them on. There are MANY more conditionals available in WordPress and I've only listed some of the most common scenarios. If you'd like to learn more or have a different use-case, check out <a href="https://codex.wordpress.org/Conditional_Tags" target="_blank" rel="noopener">this</a> link.</p>



<div class="wp-block-codemirror-blocks-code-block code-block"><pre class="CodeMirror" data-setting="{&quot;mode&quot;:&quot;php&quot;,&quot;mime&quot;:&quot;text/x-php&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;PHP&quot;,&quot;modeName&quot;:&quot;php&quot;}">//On the front page ONLY
if ( is_front_page() ){

	//insert enqueues here

}
	
//On every page EXCEPT the front page
if ( ! is_front_page() ) {

	//insert enqueues here
		 
}

//On specified page (based on slug or ID)
if ( is_page('your-page-slug-or-id') ){

	//insert enqueues here

}

//On several specified pages (based on slugs or IDs)
if ( is_page( array('first-slug', 'second-slug', 'etc...') ) ){

	//insert enqueues here

}

//On all posts of a specified type
if ( get_post_type() == 'yourposttype' ){

	//insert enqueues here

}</pre></div>



<p>Don't forget to save your file!</p>



<p>Here's an example of what a simple completed plugin.php might look like (note: you can add additional enqueues easily any time and I'll talk about that more later)</p>



<div class="wp-block-codemirror-blocks-code-block code-block"><pre class="CodeMirror" data-setting="{&quot;mode&quot;:&quot;php&quot;,&quot;mime&quot;:&quot;text/x-php&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;PHP&quot;,&quot;modeName&quot;:&quot;php&quot;}">&lt;?php
/*
Plugin Name:	Resource Enqueuer
Description:	Enqueues Resource Files
*/

//You can ignore this, but don't forget to include it. 
//It helps keep your plugin safe from being tampered with!
if ( ! defined( 'WPINC' ) ) {
	die;
}

add_action( 'wp_enqueue_scripts', 'resource_enqueuer' );

function resource_enqueuer() {

	//Put your CSS enqueues under here

	//Enqueues morphtext.css everywhere
	wp_enqueue_style( 'morphtext', 'https://cdnjs.cloudflare.com/ajax/libs/Morphext/2.4.4/morphext.css' );


	//Put your JS enqueues under here

	//Enqueues particles.js on the front page only
	if (is_front_page()){
		wp_enqueue_script( 'particlesjs', 'https://cdn.jsdelivr.net/npm/particles.js@2.0.0/particles.min.js', '', '', true );
	}

	//Enqueues morphtext.js everywhere
	wp_enqueue_script( 'morphtextjs', 'https://cdnjs.cloudflare.com/ajax/libs/Morphext/2.4.4/morphext.min.js', '', '', true );

}</pre></div>



<h2>5. Install Your Plugin</h2>



<p>We're finally ready to see some results! Next, go ahead and right-click on your plugin folder and select Send to &gt; Compressed (zipped) folder.</p>



<figure class="wp-block-image size-full is-style-default"><img loading="lazy" width="591" height="396" src="https://apexweb.io/wp-content/uploads/2020/09/explorer_ylB0nCW9qG.png" alt="Compress Resource Enqueue Plugin" class="wp-image-232" srcset="https://apexweb.io/wp-content/uploads/2020/09/explorer_ylB0nCW9qG.png 591w, https://apexweb.io/wp-content/uploads/2020/09/explorer_ylB0nCW9qG-300x201.png 300w" sizes="(max-width: 591px) 100vw, 591px" title="How to Enqueue Scripts and CSS in Oxygen (The Right Way) 4"></figure>



<p>Now we just need to upload and activate the plugin like we would any other plugin! Go to Plugins &gt; Add New &gt; Upload Plugin then select and upload your new zip file. Once that's done, activate the plugin.</p>



<p>We're done! Congrats! You've created your very own plugin to enqueue your resource files (and maybe your first plugin in general)!</p>



<h2>How to Edit the Plugin to Add More Later</h2>



<p>You can easily add additional enqueues any time by editing the files for your plugin on the server. If you need help with that just follow the steps below!</p>



<p>First, we need to connect to our server with <a href="https://www.digitaltrends.com/computing/what-is-ftp-and-how-do-i-use-it/" target="_blank" rel="noopener">FTP / SFTP</a>. If for some reason you're unable to do that or you aren't familiar with how to use those, you can use the plugin <a rel="noopener" href="https://wordpress.org/plugins/wp-file-manager/" target="_blank">WP File Manager</a> to do so, but please deactivate and delete it after you're done using it for security purposes. Once you're successfully browsing your server you should be able to find the plugin at /public_html/wp-content/plugins/your-plugin-name. From there, simply add the resources to the assets folder and edit your plugins.php file with the new enqueues you'd like to add.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://apexweb.io/enqueue-scripts-css-oxygen-builder/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>How to Add Particle Backgrounds in Oxygen with Particles.js</title>
		<link>https://apexweb.io/adding-particle-backgrounds-in-oxygen-with-particles-js/</link>
					<comments>https://apexweb.io/adding-particle-backgrounds-in-oxygen-with-particles-js/#comments</comments>
		
		<dc:creator><![CDATA[Alec Gall]]></dc:creator>
		<pubDate>Sat, 26 Sep 2020 03:03:17 +0000</pubDate>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Oxygen Builder]]></category>
		<category><![CDATA[animated]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[oxygen]]></category>
		<category><![CDATA[particles]]></category>
		<guid isPermaLink="false">https://apexweb.io/?p=161</guid>

					<description><![CDATA[Hey everyone! Today I'm going to walk you through adding a particle background like the one on my home page to a div in Oxygen Builder with one of my favorite open-source JavaScript libraries, particles.js. 1. Create your particle config First lets head to particles.js to create our config. Vincent Garraeu lets you configure just [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Hey everyone! Today I'm going to walk you through adding a particle background like the one on my <a href="https://apexweb.io/" target="_blank" rel="noopener">home page</a> to a div in <a href="https://oxygenbuilder.com" target="_blank" rel="noopener">Oxygen Builder </a>with one of my favorite open-source JavaScript libraries, particles.js.</p>


				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1   uagb-block-e537fbd5 " 
					data-scroll= "1"
					data-offset= "30"
					data-delay= "800"
				>
				<div class="uagb-toc__wrap">
					<div class="uagb-toc__title-wrap">
						<div class="uagb-toc__title">
							Table Of Contents						</div>
													<span class="uag-toc__collapsible-wrap">			<svg xmlns="https://www.w3.org/2000/svg" viewBox= "0 0 320 512"><path d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"></path></svg>
			</span>
												</div>
										<div class="uagb-toc__list-wrap">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#1-create-your-particle-config">1. Create your particle config</a><li class="uagb-toc__list"><a href="#2-import-particlesjs">2. Import particles.js</a><li class="uagb-toc__list"><a href="#3-add-an-id-to-the-div">3. Add an ID to the div</a><li class="uagb-toc__list"><a href="#4-call-the-particlesjs-function">4. Call the particlesJS() function</a><li class="uagb-toc__list"><a href="#5-css-fixes">5. CSS Fixes</a></ol>					</div>
									</div>
				</div>
			


<h2>1. Create your particle config</h2>



<p>First lets head to <a href="https://vincentgarreau.com/particles.js/" target="_blank" rel="noopener">particles.js</a> to create our config. <a href="https://vincentgarreau.com/en" target="_blank" rel="noopener">Vincent Garraeu</a> lets you configure just about everything super easily through a visual editor on the website. Adjust the speed, the number of particles, lines, etc, and when you're happy with what you have, go ahead and click "Download current config". This will give you a <a href="https://www.json.org/json-en.html" target="_blank" rel="noopener">JSON </a>file that we'll use in a few minutes.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="351" height="242" src="https://apexweb.io/wp-content/uploads/2020/09/chrome_dimynX6GW0.png" alt="chrome dimynX6GW0" class="wp-image-163" srcset="https://apexweb.io/wp-content/uploads/2020/09/chrome_dimynX6GW0.png 351w, https://apexweb.io/wp-content/uploads/2020/09/chrome_dimynX6GW0-300x207.png 300w" sizes="(max-width: 351px) 100vw, 351px" title="How to Add Particle Backgrounds in Oxygen with Particles.js 5"></figure>



<h2>2. Import particles.js</h2>



<p>There are a few ways to do this. The most correct way is to enqueue it with WordPress' <a rel="noopener" href="https://developer.wordpress.org/reference/functions/wp_enqueue_script/" target="_blank">wp_enqueue_script</a> function; however, Oxygen makes enqueueing a little weird because we no longer have access to the theme files where we'd normally do that. If you want to enqueue the script you can create a custom plugin to do so, and I highly recommend doing that method. You can <a href="https://apexweb.io/enqueue-scripts-css-oxygen-builder/" target="_blank" rel="noopener">follow my guide here</a> to learn how to do that! Alternatively, if you're not up for that at the moment you can just use a typical HTML script tag in the footer.</p>



<p>Create a code block in oxygen at the bottom of your footer, then add the following to the HTML:</p>



<div class="wp-block-codemirror-blocks-code-block code-block"><pre class="CodeMirror" data-setting="{&quot;mode&quot;:&quot;htmlmixed&quot;,&quot;mime&quot;:&quot;text/html&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;HTML&quot;,&quot;modeName&quot;:&quot;html&quot;}">&lt;!-- Import particles.js --&gt;
&lt;script src=&quot;https://cdn.jsdelivr.net/npm/particles.js@2.0.0/particles.min.js&quot;&gt;&lt;/script&gt;</pre></div>



<h2>3. Add an ID to the div</h2>



<p>Next, we just need to add an ID to the div we want to contain the particles inside, or you can just make note of the ID automatically given to it by Oxygen.</p>



<p>Note: The position of this div needs to be set to relative.</p>



<h2>4. Call the particlesJS() function</h2>



<p>Now it's time to finally start seeing some visual progress. There are two ways we can proceed from here. The first option is to upload your particles.json config file to your server somewhere, then feed the file path into the particlesJS() function:</p>



<div class="wp-block-codemirror-blocks-code-block code-block"><pre class="CodeMirror" data-setting="{&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;text/javascript&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;JavaScript&quot;,&quot;modeName&quot;:&quot;js&quot;}">//Wait until the document is loaded
document.addEventListener(&quot;DOMContentLoaded&quot;, function(){
    /* particlesJS(@dom-id, @path-json)); */
    particlesJS('InsertYourDivIdHere', 'yourpath/particles.json');
});</pre></div>



<p>If you don't want to deal with that you can actually just paste the contents of your particles.json file inside some curly braces where the file path would normally go like so:</p>



<div class="wp-block-codemirror-blocks-code-block code-block"><pre class="CodeMirror" data-setting="{&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;text/javascript&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;JavaScript&quot;,&quot;modeName&quot;:&quot;js&quot;}">//Wait until the document is loaded
document.addEventListener(&quot;DOMContentLoaded&quot;, function(){
  /*particlesJS.load(@dom-id, @path-json);*/
  particlesJS('InsertYourDivIdHere', {
      //Paste the entire contents of your particles.json here
  });
});</pre></div>



<p>You <strong>should</strong> be able to see some particles now! (note: they may not be visible in the Oxygen backend, so be sure to view the frontend) Depending on how your page is setup, there's a good chance that the particles canvas is being displayed below the div you wanted it to be in, so I'll show you what I did to fix that next.</p>



<h2>5. CSS Fixes</h2>



<p>If you have a custom stylesheet started, go ahead and open that and insert the following CSS. If not, create a new one and do the same:</p>



<div class="wp-block-codemirror-blocks-code-block code-block"><pre class="CodeMirror" data-setting="{&quot;mode&quot;:&quot;css&quot;,&quot;mime&quot;:&quot;text/css&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;language&quot;:&quot;CSS&quot;,&quot;modeName&quot;:&quot;css&quot;}">.particles-js-canvas-el{
    position: absolute;
    top: 0;
    z-index: -1; //You will likely need to play around with this
}</pre></div>



<p>On my site, there is nothing behind the div that I attached my particles to, and I set my background color via that div. If yours is any different you may need to adjust the <a href="https://www.w3schools.com/cssref/pr_pos_z-index.asp" target="_blank" rel="noopener">z-index</a> of the particles canvas among other things to get everything layered properly. It's important to make sure your text and buttons have a higher index than your particles canvas or else users won't be able to interact with them.</p>



<p>That's it! I hope this helped you add a cool effect to your sites!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://apexweb.io/adding-particle-backgrounds-in-oxygen-with-particles-js/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>My Favorite Design Tools and Generators</title>
		<link>https://apexweb.io/my-favorite-design-tools-and-generators/</link>
					<comments>https://apexweb.io/my-favorite-design-tools-and-generators/#comments</comments>
		
		<dc:creator><![CDATA[Alec Gall]]></dc:creator>
		<pubDate>Fri, 25 Sep 2020 03:19:59 +0000</pubDate>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[converter]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[divider]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[generators]]></category>
		<category><![CDATA[gradient]]></category>
		<category><![CDATA[pallette]]></category>
		<category><![CDATA[shape]]></category>
		<category><![CDATA[tools]]></category>
		<guid isPermaLink="false">https://apexweb.io/?p=147</guid>

					<description><![CDATA[Hey everyone! I've been building up a small bookmark folder of tools and generators for web design. I thought I'd go ahead and list them all for others. If you know of some more little tools like this please share! I'd love to add more to my list. This list is in no particular order [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>Hey everyone! I've been building up a small bookmark folder of tools and generators for web design. I thought I'd go ahead and list them all for others. If you know of some more little tools like this please share! I'd love to add more to my list. This list is in no particular order and they are all great! I will keep adding to this list as I find more.</p>


				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1   uagb-block-91dc1e46 " 
					data-scroll= "1"
					data-offset= "30"
					data-delay= "800"
				>
				<div class="uagb-toc__wrap">
					<div class="uagb-toc__title-wrap">
						<div class="uagb-toc__title">
							Table Of Contents						</div>
													<span class="uag-toc__collapsible-wrap">			<svg xmlns="https://www.w3.org/2000/svg" viewBox= "0 0 320 512"><path d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"></path></svg>
			</span>
												</div>
										<div class="uagb-toc__list-wrap">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#fontpair">FontPair</a><li class="uagb-toc__list"><a href="#canva">Canva</a><li class="uagb-toc__list"><a href="#type-scale">Type Scale</a><li class="uagb-toc__list"><a href="#brumm">Brumm</a><li class="uagb-toc__list"><a href="#palx">PALX</a><li class="uagb-toc__list"><a href="#coolors">Coolors</a><li class="uagb-toc__list"><a href="#uigradients">uiGradients</a><li class="uagb-toc__list"><a href="#gradient-animator">Gradient Animator</a><li class="uagb-toc__list"><a href="#bob-ross-lipsum">Bob Ross Lipsum</a><li class="uagb-toc__list"><a href="#techsini">Techsini</a><li class="uagb-toc__list"><a href="#sizymyimage">SizyMyImage</a><li class="uagb-toc__list"><a href="#shapedivider">ShapeDivider</a><li class="uagb-toc__list"><a href="#svg-backgrounds">SVG Backgrounds</a><li class="uagb-toc__list"><a href="#convertico">ConvertICO</a></ol>					</div>
									</div>
				</div>
			


<h2>FontPair</h2>



<p><a rel="noopener" href="https://fontpair.co" target="_blank">FontPair </a>lists tons of good options for font pairings (Heading and Text). It's especially great if you know what you want to use for one of your fonts but aren't sure about the other. You can search "Montserrat" for example and it will show you a bunch of good pairings to go along with it.</p>



<h2>Canva</h2>



<p><a href="https://www.canva.com/font-combinations/" target="_blank" rel="noopener">Canva </a>is also a tool for finding font pairs. Just insert the font you're working with and it will give you options to go with it.</p>



<h2>Type Scale</h2>



<p><a href="https://type-scale.com/" target="_blank" rel="noopener">Type Scale</a> helps you decide the appropriate sizes for your text and headings. You can select your font, base font size, and the scaling ratio you'd like to use then it will automatically generate all your heading sizes in em units based on your selections.</p>



<h2>Brumm</h2>



<p><a href="https://brumm.af/shadows" target="_blank" rel="noopener">Brumm </a>is a tool for generating beautiful multilayer shadows. These shadows look much more natural than the standard one layer box-shadow and can really step up the design of a web page.</p>



<h2>PALX</h2>



<p><a href="https://palx.jxnblk.com/" target="_blank" rel="noopener">PALX </a>helps you generate a color palette based off of a single color. Basically, if you have one color picked, you can input that and it will give you a bunch of colors that go well with it. Select a few and you've got your pallet!</p>



<h2>Coolors</h2>



<p><a href="https://coolors.co/" target="_blank" rel="noopener">Coolors</a> is a color palette generator as well, but generates random color palettes instead.</p>



<h2>uiGradients</h2>



<p><a href="https://uigradients.com/" target="_blank" rel="noopener">uiGradients</a> is exactly what it sounds like. It's basically a big list of colors that go well together mashed up into gradients. Most of them are two colors but some go as high as four colors.</p>



<h2>Gradient Animator</h2>



<p><a href="https://www.gradient-animator.com/" target="_blank" rel="noopener">Gradient Animator</a> is pretty self-explanatory as well. Based on a few settings and some colors it will generate all the CSS you need for a beautiful animated gradient.</p>



<h2>Bob Ross Lipsum</h2>



<p><a href="https://www.bobrosslipsum.com/" target="_blank" rel="noopener">Bob Ross Lipsum</a> is a fun little twist on the usual Lorem Ipsum. It's basically just Lorem Ipsum but with Bob Ross-isms. It's fun to change it up sometimes!</p>



<h2>Techsini</h2>



<p><a href="https://techsini.com/multi-mockup/" target="_blank" rel="noopener">Techsini </a>has a few other tools on their site, but my favorite is the Multi-Device Website Mockup Generator. It creates those mockups you see on a ton of web design pages that show a website or app on a bunch of different screens like a pc monitor, tablet, phone, etc. You just input the URL of a site and it loads up iframes of the site in a mockup that you can screenshot and use on your site!</p>



<h2>SizyMyImage</h2>



<p><a rel="noopener" href="https://sizemyimage.com/?1" target="_blank">SizeMyImage </a>is an all-in-one image scaler, compressor, and file converter that can process several images at a time. It's a nice simple website with a nice design and great UX.</p>



<h2>ShapeDivider</h2>



<p><a href="https://www.shapedivider.app/" target="_blank" rel="noopener">ShapeDivider</a> is an awesome tool for easily creating SVG shape dividers of several types. You can choose from types like waves, curves, triangles, arrows, etc then adjust some sliders to get them exactly how you want them. Super easy way to make something that's normally quite complicated! </p>



<h2>SVG Backgrounds</h2>



<p><a href="https://www.svgbackgrounds.com/" target="_blank" rel="noopener">SVG Backgrounds</a> is another pretty self-explanatory one. It's a tool for generating some cool SVG backgrounds. They are a premium service, but they do offer quite a few free options as well so it's still worth checking out if you're not looking to spend anything!</p>



<h2>ConvertICO</h2>



<p><a href="https://www.convertico.com/" target="_blank" rel="noopener">ConvertICO </a>converts PNG files into ICO files which you can use for the favicon of your website.</p>



<p></p>



<p>Thanks for reading and please let me know if you know of any other little tools worthy of this list! I'd absolutely love to add more to my bookmark collection.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://apexweb.io/my-favorite-design-tools-and-generators/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
	</channel>
</rss>
