Add custom code to your site by going to the Settings area of the Visual Builder, and navigating to "Custom Code" under the Advanced tab.
You can apply custom CSS rules, insert code into the <head> of your pages, or add custom JavaScript to the end of the body.
Be aware that any code pasted in this area will not be saved with a specific layout or design. This code is global, applying to any active design and all of it’s layouts.
Enter content into these area only if 1) the ProPhoto team has instructed you to do so, or 2) you are certain that you know what you are doing. Nearly every other styling decision can be achieved using the options ProPhoto already provides. If adding code to this area causes problems with your site, come back and delete the code you added.
Site custom CSS
This area allows you to manually code extra CSS for your entire site's design. If you know how to look up CSS classes and IDs from the HTML markup of your site, and you understand how to write CSS code, feel free to experiment here. But be aware that you should test your changes in several browsers and on mobile devices to make sure everything behaves as expected.
If you are trying to add CSS to a specific element, it is generally better to add it to the specific block, row, or column via the option provided in the Visual Builder.
Insert into head
This area is intended for any third party applications that require you to add a "meta tag", or other info into the <head></head> area of your blog.
What you enter here shows up in the markup right before the </head>.
Unless you really know what you are doing, you should contact us before pasting any other code into this area. Of course if it breaks something you can always pull it back out!
Custom javascript
If you are comfortable creating and using custom JavaScript code, or you received Custom JavaScript code from somewhere else that you're wanting to add to your site, you can do so in that field. It will be inserted into the markup at the end of the body as shown below.
If you aren't really sure what you're doing though, it's best to leave this field blank as incorrect code in this area could negatively affect your site.) You can also add JavaScript directly to the "head" of your site in the "insert into head" area on this same page.
Comments
0 comments
Article is closed for comments.