I use the callout section to place a phone number up in the top right corner of my site. With the recent update to 2.2.2, now there is a blank button that I need to go away, as it's shifting over the callout element.
Is there some easy css to hide this button or turn it off in the admin?
Need to hide button in Callout section
Started by
ddecort
, Jul 11 2012 03:38 AM
4 replies to this topic
#1
Posted 11 July 2012 - 03:38 AM
#2
Posted 11 July 2012 - 03:49 AM
i also need to remove the h2 tag from this text, as this is bad for our SEO (the phone number shouldn't be the h2 on every page). What is the easiest way to customize this section so that my changes aren't lost when I update the theme?
#3
Posted 11 July 2012 - 08:10 AM
Hi,
I think you probably best using a different section to display your contact information, such as the Content Box or Universal sidebar.
You could also try using Hook.
#4
Posted 11 July 2012 - 05:04 PM
Could you provide any direction on how I would use a hook for that?
The general idea is I need a section that can sit inside the branding section and be fully editable without pushing other things around
#5
Posted 11 July 2012 - 08:10 PM
You'll want to install the PageLines Customize plugin, edit the functions.php file there with this (edit as needed):
In PageLines Customize > style.css, add some styling for the global_phone_no div in order to style the number, include a background, etc. The basics should be:
// ---> uncomment to load
add_action('pagelines_inside_top_branding', 'global_phone_no');
// function name
function global_phone_no(){
?>
<div class="global_phone_no">your telephone number</div>
<?php }
// end function
In PageLines Customize > style.css, add some styling for the global_phone_no div in order to style the number, include a background, etc. The basics should be:
#branding .global_phone_no {
float: right;
z-index: 10;
position: relative;
}











