adding Universal Sidebar in header to the right
#1
Posted 03 April 2012 - 02:54 PM
#2
Posted 03 April 2012 - 03:33 PM
#3
Posted 03 April 2012 - 05:25 PM
#4
Posted 03 April 2012 - 05:53 PM
The Idea is to give both your branding and your sidebar a relative width:
#sb_universal {max-width:49.9%; float:right} /*u can use 50% if you don't use borders*/
#branding{max-width:49.9%;}
/*If you want it on mobile view to jump under eachother, you can add a */
min-width:200px;
/*to both.*/
This might not be the complete solution, but try and report your findings. Play around with the values, so it looks good on all devices.Edit: As you might have guessed, the float:right tells the sidebar to move right. You don't need float:left for the branding, since it's the standard setting.
#5
Posted 03 April 2012 - 06:11 PM
#6
Posted 03 April 2012 - 07:48 PM
#7
Posted 03 April 2012 - 08:48 PM
#8
Posted 03 April 2012 - 09:08 PM
#9
Posted 04 April 2012 - 02:31 AM
There is an example hook along with a video tutorial on how to create one. In your hook, the first two lines should follow this format:
// add_action('hook_name','function name');
add_action('pagelines_branding_icons_end', 'add_icons_to_branding');
#10
Posted 04 April 2012 - 05:32 AM
#11
Posted 04 April 2012 - 09:32 AM
I've checked out the hooks video and go this far:
// add_action('hook_name','function name');
add_action('pagelines_before_branding_icons', 'add_universal_sidebar');
//function name
function add_universal_sidebar(){
the example used the "get search" code and did not show me where I go to find out what the code is to add the universal sidebar. I just used add_universal_sidebar but how do I know this is correct?
#12
Posted 04 April 2012 - 10:57 AM
#13
Posted 04 April 2012 - 03:15 PM
#14
Posted 04 April 2012 - 08:05 PM
#15
Posted 06 April 2012 - 07:51 AM
#16
Posted 06 April 2012 - 08:32 AM
#17
Posted 06 April 2012 - 10:57 AM
You have now changed to use a sidebar instead, therefore to make the title larger, add the following code to PageLines > Settings > Custom Code > CSS Rules:
#frm_show_form-2 .widget-title {font-size: 1.6em;} You can replace 1.6em with px for example: font-size: 20px;
Just have a play with the size until you have the size you want. Also I recommend you use either the addon Firebug for Mozilla Firefox or use Google Chromes Web Developer tool (press F12 for PC and for Mac
+
+I)This will allow you to change your CSS on the fly.
#18
Posted 07 April 2012 - 02:05 PM











