How to add message at the top of home page
Posted 16 May 2012 - 01:55 AM
Posted 16 May 2012 - 02:30 AM
CSS can be used to give the message its style (font style, size, color, etc.), but you can worry about that last (after you've implemented the hook). Custom CSS is explained here: Further documentation on CSS attributes is here:
Posted 16 May 2012 - 03:21 AM
Posted 16 May 2012 - 10:21 AM
I have provided you with a link to the Wordpress Codex that has more information regarding Hooks.
Below is an example:
The below code adds an image to the header of your section.
Posted 17 May 2012 - 06:05 PM
Posted 17 May 2012 - 07:58 PM
Then you can use Dashboard > Plugins > Editor > Pagelines Customize to select and edit functions.php in the plugin.
Here's a bit of code that should work.
With that, your text will not be formatted and will pick up the basic font and font attributes for the site. In Custom Code, you can then apply any styling you wish to .custom_text. We can get to that once you've added the hook correctly to the end of your functions.php file.
Posted 18 May 2012 - 01:12 AM
Posted 18 May 2012 - 02:36 AM