Jump to content
Claude203

Looking for the theme's "body" tag for a script call.

Recommended Posts

Claude203    12
Claude203

Hi,

 

I'm looking for the module that contains the body tag, as we were given the following instruction for adding a popup window script:

 

Insert the following line into your page's BODY tag, immediately before the > character.

 

Thank you.

  • Like 1

Claude Johnson
BlackFives.org

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hello Claude,

 

I don't think WhiteHousePro actually used the body tag in its CSS. As its a legacy theme, support for it is very limited.  Have you considered upgrading to PageLines Framework?


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Claude203    12
Claude203

Dear One Smart Egg,
 

Thanks for your reply.

 

Yes, I upgraded to PageLines Framework about 5-6 months ago but to be perfectly honest with you, it is confusing and not as intuitively obvious as WhiteHousePro. Probably means I have to try harder as far as learning how it works. But still, I don't remember struggling this much trying to understand WHP and right now I would rather use WHP, and I am considering switching back to it. Are there more tutorial videos available?

 

Thank you.


Claude Johnson
BlackFives.org

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi,

 

If the body tag is in WHP, it will be in header.php. FTP into the site. Navigate to wp-content/themes/whitehous and find header.php.  Edit the script.

 

Do a search for <body <?php body_class(); ?>>

 

Please do not remove the <?php body_class(); ?> part of your site will break.  I cannot guaranty that it will not break if you're editing a core file. We don't recommend or support that, but because this is a legacy theme, and no updates will be forthcoming, you can expect nothing will overwrite it.

 

I'd heartily recommend that you back it all up before editing.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Claude203    12
Claude203

Hi,

 

Thanks. I found where to edit the header.php file from your description.

 

(However, please don't get me wrong, I really want to switch to the latest greatest PL Framework but I would like to find more tutorials first. I know it's a separate topic. I'll keep looking.)

 

Meanwhile, this topic is resolved.

 

Thank you!


Claude Johnson
BlackFives.org

Share this post


Link to post
Share on other sites
Rob    547
Rob

Our documents for PageLines Framework are located at http://support.pagelines.me/docs/

 

The forum is a rich resource for unique customizations.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Claude203    12
Claude203

Great! Thanks.


Claude Johnson
BlackFives.org

Share this post


Link to post
Share on other sites
Rob    547
Rob

Anytime.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • photomom86
      By photomom86+
      I just purchased the DMS framework and the Sophistique child theme. I am needing help with setting the content or body font size... the content in a blog post only.
       
      I have the global font size set to 18px and then I have this custom code in the custom css area
       
      body{ font-size:22px !important;}
       
      but this code also changes the font size of the Sophistique contact bar... which I do not want. Anyone know the code to only change the font size in the blog post content area only?
       
      Or vice versa, I could set the global font to 22px and then use custom code for the contact bar font in custom css.
       
      I've tried to use the chrome developer tools to figure this out to no avail. Thanks!
       
      url is stagegecg.com
       
    • ketri
      By ketri
      Hello!

      I Wonder what causes this issue?
      Here you can see that the <body> or even <html> are not full height: https://www.dropbox.com/s/jbvnhkzyw5cg58f/Screenshot%202014-05-21%2015.05.24.png
      So if I for example set a background-image to <body>, it will not be the full height.
      This is a clean installation of DMS with latest version of WP.

      Can you replicate this issue and do you know what causes it?

      Thanks!
    • outtareach
      By outtareach
      I want to add padding to top and bottom of the body tag but when I do the background image doesn't display and only white space.
      how do I get the header to move down to show background at top and bottom.  any insight would be helpful
       
       

       
    • lutz
      By lutz
      Hi there!
       
      I have to put this piece of code into the body section of the site to deliver the ads correctly:
       
      <script type=“text/javascript“> window.onload = checkWallpaper; </script>     The function "checkWallpaper" is stored in the header section, but the code above has to be put into the body section. But I have no idea how to do that. I already tried it in the functions.php file of Pagelines customize folder, but that didn't work.   Can please someone tell me in which file I have to copy this code? So that it won't be overwritten with every update of Pagelines?   Thanks in advance!
    • Toby
      By Toby
      Hi, I would like to reduce the spacing/padding between the header section and the body section of my website.
       
      http://www.innovativethinkingit.com.au/
       
      I can't locate the class that needs to be changed to reduce the spacing, I would like to reduce the space above and below the 'social stickers'.
       
      Thanks in advanced.
×