Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Place a custom element (any text) somewhere on the home page


 
Prev Previous Post   Next Post Next
  #1  
Old Dec 29, 2011, 04:21 PM
jrobie23's Avatar
jrobie23
 
63 posts · Feb 2011
Boulder, CO
Place a custom element (any text) somewhere on the home page

I know this seems insanely simple, but i'm stumped.

I create a div with some text in it and gave it an id, then added this to the index.php
<?php if (is_front_page())echo '<div id="slidernav">This is some text</div>'; ?>

which works fine.... The text shows up, but I cannot attribute any css to it.

What I cannot seem to do is modify that div.

in my css inserts I have:

#slidernav{
...... css stuff
}

What am i missing??

Does ATA not allow custom elements? (that's likely not the right word).

For example, if I just wanted a red box to appear on the site at some "absolute position".... how could I do that??

http://jacksonnhrealestate.com/

For what it's worth, this all started because my client wants a maroon bar (slightly opaque) across the bottom of the slider with their phone number in it..

What I'm trying to do here is basically replace the solid bar I have in there now (which is just a border)....
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to place a widget between posts on the home page sober Sidebars & Widgets 1 Oct 12, 2011 01:55 PM
Replace Menu & Make Custom Home Page jnucreative Page & Category Menu Bars 5 Jun 29, 2010 04:46 PM
Where to place nofollow code for home link? wardrob Header configuration & styling 3 Apr 12, 2010 09:32 AM
Wanting to place hoverable image for page menu button instead of text semraddesign Page & Category Menu Bars 0 Jan 30, 2010 04:25 PM
want to place clickable icons in place of links (Home, About, etc.) agrossman Header configuration & styling 2 Aug 13, 2009 02:45 PM


All times are GMT -6. The time now is 03:51 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.