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 » Forum Usage » Forum How-To »

Page-Specific HTML/CSS Inserts?


  #1  
Old Aug 7, 2010, 01:59 AM
eric41's Avatar
eric41
 
51 posts · Aug 2010
Nieder Sachsen, Germany
Hi! I am using Atahaulpa3.4.6, and here is a link to my site.

I have created essentially an entire page for the front page by inserting an image map div container via Theme Options>HTML/CSS inserts. It works fine except, of course, whatever I insert there applies to every page of the site. How can I make this container page-specific and create another html/css insert that will apply to a different page of the site?

Thank you!
  #2  
Old Aug 7, 2010, 04:43 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
To define a specific page go to the page you want to affect with the styling and look at the source. Search for body class= and you will see something like <body class="page page-id-891.... Use the page id followed by the item you want to select on that page in CSS Inserts (EG body.page-id-891 div#imagecontainer). I hope that's clear.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Aug 7, 2010, 06:00 AM
eric41's Avatar
eric41
 
51 posts · Aug 2010
Nieder Sachsen, Germany
Thank you so much for that help. But I'm still a bit confused, maybe because my div contains an image map? With the code you supplied that goes into CSS inserts, how do I call the specific div container (containing the image map) in order to assign it to that page id?

In other words, in the code you included for the CSS inserts section...

body.page-id-333 div#imagecontainer

...What calls the specific container I want to display on that page?

Sorry if I seem simple in my understanding..I am a bit new to most of this.
Thank you again!

Last edited by eric41; Aug 7, 2010 at 06:03 AM.
  #4  
Old Aug 7, 2010, 03:18 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Right now I see nothing on the site you sent the link to. I reread your question and was wondering why not put the image map on a page and use that as a static home page vs putting it in where you did which I assume is in the HTML Inserts: Body Top?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
why Fields in the Atahualpa 3.3.3 does not expand? css inserts, html inserts krystyna New Versions, & Updating 3 Oct 28, 2010 12:22 PM
[SOLVED] Reset HTML/CSS Inserts Page -&gt; Widgets Disappear from Atahualpa 3.5.3 Menu flawlessshine Sidebars & Widgets 11 Aug 5, 2010 09:26 AM
HTML/CSS Inserts Jurgen Estanislao Forum How-To 0 Aug 3, 2010 07:40 AM
ADD HTML/CSS Inserts -- 3.5.1 --- Need to remove default CSS Inserts ortho New Versions, & Updating 0 Jun 23, 2010 03:17 PM
[SOLVED] why Fields in the Atahualpa 3.3.3 does not expand? css inserts, html inserts ppat2 New Versions, & Updating 3 Jun 2, 2009 05:41 PM


All times are GMT -6. The time now is 04:41 PM.


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