Posted 28 September 2012 - 12:30 PM
I'm trying to change the position of a custom script that I installed into the header scripts. The script displays a custom greeting on the site depending on the time of day. I want the greeting to be above the telephone number in the header but i'm struggling to achieve this.
The script is as follow:
Can anyone help?
Posted 28 September 2012 - 12:36 PM
Posted 28 September 2012 - 03:47 PM
1. bring the div to the front, so it sits on top of the header
2. It's currently set to 50px off the right but its doing this off the side of the browser window, rather than the right hand side of the web page
grateful for any help
Posted 28 September 2012 - 05:47 PM
2. The left/right margins need to be changed:
Please see this documentation for further instructions:
Posted 01 October 2012 - 05:01 PM
Posted 02 October 2012 - 01:57 AM
That will get you a lot closer to where you want it, and then you won't need such hardcore CSS to wrestle it into place.
Hope that helps
Posted 02 October 2012 - 02:48 PM
I added your code to the functions.php file located in /wp-content/themes/pagelines/functions.php
and was returned with the following error when I reloaded the page...
Parse error: syntax error, unexpected '<' in /websites/123reg/LinuxPackage22/ll/oy/ds/lloydspropertyagents.com/public_html/wp-content/themes/pagelines/functions.php on line 24
Posted 02 October 2012 - 10:44 PM
The code he provided should work if you have the pagelines-customize plugin installed. In there, you'll find a functions.php. Just tack his code at the end.
Alternatively, if you're using a child theme, like Base, you can use the functions.php inside the child theme folder.
You'll get errors when using the core files.