This code allows you to set a background image or texture behind the content areas of a Joomlashine template. This will not work for all templates and might need some further work but it is a great starting point.
/*-- Set a background image or texture behind module positions and content --*/ /* Set Background Image - add to wiki */ #jsn-page { background: url("../custom/images/background.jpg") repeat scroll 0 0; } /* Make backgrounds transparent */ #jsn-topheader, #jsn-header, #jsn-body { background-color: transparent; } /* Remove large padding in reta content block */ #jsn-content { padding: 0; } /* Restore white to certain regions */ #jsn-topheader-inner, #jsn-header-inner, #jsn-content_inner { background-color: white; }
There are 2 ways of making a Dark Footer Background Image:
Suggested footer image sizes
This is by far the easiest way of making a footer background image.
This is the absolute code required to change the footer background.
CSS
#jsn-footer::before { background: url("../custom/images/footer-background.jpg"); } #jsn-footer { background: url("../custom/images/footer-background.jpg"); }
Joomlashine has also used the following code for setting a footer background.
CSS
/* Required for the positioning of the background */ #jsn-footer { position: relative; font-size: 13px; line-height: 22px; color: #acacac; padding: 55px 0; /* margin-top: 30px; */ } /* This displays the background image in relation to its parent #jsn-footer */ #jsn-footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url("../images/backgrounds/ft1.jpg"); background-position: 50% 0; background-repeat: repeat; background-size: cover !important; }
HTML
<div class="jsn-footer"> <!-- Footer Content Here --> </div>
The #jsn-footer <div> background is black so when the image is semi-transparent the black comes through making the image darker and give a sort of watermark effect.
Not all the code is required but I have put it here for reference. Different Joomlashine Templates might have slightly different versions of this code but the the rules shoud be very similiar.
CSS
/* Required for the positioning of the background and sets it to be dark */ #jsn-footer { position: relative; font-size: 12px; line-height: 20px; color: #fff; padding: 35px 0px 0; background: #171c26; } /* This displays the background image in relation to its parent #jsn-footer and makes the background image semi-transparent */ #jsn-footer .img-ft-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url("../images/backgrounds/footer.jpg"); -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity="15")"; filter: alpha(opacity= 15); -moz-opacity: 0.015; -khtml-opacity: 0.015; opacity: 0.015; background-position: 50% 0; background-attachment: fixed !important; background-repeat: repeat; background-size: cover !important; }
HTML
<div class="jsn-footer"> <div class="img-ft-bg></div> </div>
When making footer images they have to be quite wide and have resolutions such as 1920 x 1080 but this causes the images to be of a large file size. The solution is simple though.
This technique massively reduces its file size and allows you to use large resolution images with small footprints.
When you save this lower quality image, you will find it normal to the human eye and as such it looks fine, but the image file size is massively reduced.
In Joomla occasionally you might want to a SubText Message underneath the menu item (Link Title Attribute), but Joomla does not support this feature currently (Joomla 3.51).
To add a 'Link Title Attribute' to a 'Text Seperator' you need to edit the database directly, preferably using PHPMyAdmin.
Get a working copy of a menu item with a 'Link Title Attribute' to look at
This is a normal menu item configured with a sub text and css styling
{"show_title":"","link_titles":"","show_intro":"","info_block_position":"","show_category":"","link_category":"","show_parent_category":"","link_parent_category":"","show_author":"","link_author":"","show_create_date":"","show_modify_date":"","show_publish_date":"","show_item_navigation":"","show_vote":"","show_icons":"","show_print_icon":"","show_email_icon":"","show_hits":"","show_tags":"","show_noauth":"","urls_position":"","menu-anchor_title":"Life Coaching","menu-anchor_css":"teststyle","menu_image":"","menu_text":1,"menu_show":1,"page_title":"","show_page_heading":"","page_heading":"Stuart Downing : Professional Life Coach","pageclass_sfx":"","menu-meta_description":"","menu-meta_keywords":"","robots":"","secure":0}
Edit your 'Text Separator' and add a 'Link Title Attribute'
NB: if you have just created your menu item, it will be at the end of the table.
{"menu-anchor_css":"","menu_image":"","menu_text":1,"menu_show":1}
,"menu-anchor_title":"Life Coaching","menu-anchor_css":"teststyle",
Although this is not exactly what the article is about, this solution will give you the same effect.
When you first setup a VirtualBox PC you might find the drivers are missing. These are not easy to find unless you know where they are.
Where are the drivers?
** Notes of the CD **
Oracle VM VirtualBox Guest Additions
Notes
This article is not complete yet.
There are 2 basic ways to remove the counter:
Links
I have made a list of the settings I like to set when am setting up a Cyanogenmod Android phoen for th first time. I makes things a lot easier because if you only use a setting once you might not remember where it is and spend ages trying to find it again, I know I have.
You receive the following error when trying to format your Samsung S2 Internal SD drive in Cyanogenmod CM13 (Android 6.0.1):
Command ’33 volume partition disk: 179_0 public’ failed with ‘400 33 Command failed’
Possible Causes
Solution (does not work)
After I had updated the bootloader/Recovery with TWRP 3.0 and performed a REPIT The drive seems to work ok. This basic will fix any of the errors outlined above. Obviously unless you need to re-partition you Samsung I would just try updating the Bootloader/Kernel/Recovery first.
I still cannot reformat the drive in CM13
Notes
This could just be a bug in the current revision of CM13.x so another excellent solution is to see if updating to the latest verion of CM13 works.
These are my reseach notes for trying to find out why my new Samsung Evo 850 SSD was not running at advertised speeds in my Dell E6540 Laptop.
Settings I tried and the results:
Other Settings Not tried or are not applicable:
So the Specific Settings I have available in my Dell E6540 are:
None of these made any difference.
Other things to try that have been suggested:
It is my chipset that has a limitation. Not all laptops were designed to handle SSD speeds because when these laptops were getting designed, SSDs were not main stream yet.
This code creates a form using a UniForm, that will slide in from the center for that extra effect to whichever module position you select In this case, Stick Leftbottom [stick-leftbottom] position.
This code is designed for Uniform but can be adapted to slide in any module.
CSS
/* Container */ .flying-form { padding-left: 10px; } .flying-form .popup-form { position: relative; margin-bottom: 50px; width: 320px; min-height: 142px; } /* Animation */ .flying-form .animated { -webkit-animation-duration: 1s; animation-duration: 1s; -webkit-animation-fill-mode: both; animation-fill-mode: both; } @-webkit-keyframes slideInRight { 0% { -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); visibility: visible; } 100% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } @keyframes slideInRight { 0% { -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); visibility: visible; } 100% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); } } .flying-form .slideInRight { -webkit-animation-name: slideInRight; animation-name: slideInRight; } /* Styling */ .flying-form .popup-form { position: relative; margin-bottom: 50px; width: 290px; background-color: #fff; padding: 15px 15px 0; box-shadow: 0 0 4px #666!important; border-radius: 3px 0 0 3px !important; } .flying-form .popup-form h2.popup-title { text-transform: none; margin: 10px 0 0 10px; font-size: 16px; line-height: 1.3; font-weight: bold; } .flying-form .popup-form .jsn-bootstrap .jsn-form-content .control-group { padding: 0 !important; } .flying-form .popup-form .jsn-form-content .control-group .control-label .required, .jsn-uniform.jsn-master .popup-form .jsn-form-content .control-group .control-label i { display: none; } .flying-form .popup-form .jsn-form-content .control-group.ui-state-highlight { background-color: transparent !important; border-color: transparent !important; } .flying-form .popup-form .jsn-column-item.jsn-uniform-others textarea.jsn-value-Others { width: 255px !important; height: 20px; } .flying-form .popup-form .form-actions { padding: 0; padding-top: 10px; margin-top: 5px; margin-bottom: 5px; background: transparent; } .flying-form .popup-form .form-actions .btn-toolbar { margin-top: 0; } .flying-form .popup-form .form-actions .btn-toolbar .jsn-form-submit { width: 270px; background: #2baaff; border: none; box-shadow: none; text-shadow: none; margin-left: 0; /*margin: -20px 0 20px 10px;*/ margin: 0px 0 20px 10px; padding: 10px 0; font-weight: bold; } /* Close Button */ .flying-form .popup-form .close-div { position: absolute; top: -10px; left: -10px; background-color: #222; border-radius: 50px; width: 20px; height: 20px; line-height: 20px; text-align: center; } .flying-form .popup-form .close-div i { color: #eee; margin: 0; } .flying-form a.close-div { display: none; } .flying-form:hover a.close-div { display: block; }
JS Dependancies (Joomla / External / 3rd Party)
HTML (Top Content)
<!-- Top Content --> <div class="popup-form animated slideInRight"> <h2 class="popup-title">You expect the next QuantumWarp survey will be about:</h2>
The form will be rendered in-between these code blocks
HTML (Bottom Content)
<!-- Bottom Content --> <a href="#" class="close-div"><i class="fa fa-close"></i></a> </div> <script src="/images/kb/2016/814/jquery.cookie.js"></script> <script> (function($) { $(document).ready(function() { //$.cookie('flying-form', '0'); $(".close-div").click(function() { $.cookie('flying-form', '1'); $(".popup-form").hide(); }); $(".flying-form .jsn-form-submit").click(function() { $.cookie('flying-form', '1'); $(".flying-form .jsn-form-content").fadeOut('slow'); $(".flying-form .form-actions").fadeOut('slow'); sheet = document.styleSheets[0]; sheet.insertRule(".flying-form .jsn-form-content, .flying-form .form-actions { display: none !important }", 1); }); if ($.cookie('flying-form') != 1) { $(".flying-form").fadeIn('slow'); } }); })((window.JoomlaShine && JoomlaShine.jQuery) ? JoomlaShine.jQuery : jQuery); </script>
<a href="#" class="close-div"><i class="fa fa-close"></i></a>
This is a great little snippet to add phone numbers into the topbar and when displayed in mobile are centered and on seperate lines so everything looks nice.
Tel: 0800 123 4567 Mobile: 07777 123 456
HTML
<p style="text-align: center;"> <span style="font-size: 24pt;"> <span style="display: inline-block; white-space: nowrap; margin-top: 5px;">Tel: 0800 123 4567</span> <span style="display: inline-block; white-space: nowrap; padding-top: 5px;">Mobile: 07777 123 456</span> </span> </p>