• Resolved eerlewein

    (@eerlewein)


    Hey there, I was wondering if I could get some assistance with the following two issues I am working on.

    I got a page up and running and have been editing the styles page here and there to get what I needed out of it. However now I am getting to a point where I cant seem to find the solution.

    Styles File: https://pastebin.com/GYJ9FvRk
    Website: https://www.datron.com/about/blog.php

    I have a regular page up and running, and marketing asked me to add a blog wordpress page to it because they didnt want to learn php/dreamweaver. So now I got WP running in an iframe on that blog.php page.

    My two questions are the following:
    1. How can I remove the top menu bar? I tried adding the following:

    Line 923: .menu {display:none;} or .menu-hidden {display:none}

    but that didn’t do the trick, or maybe I just didn’t add it at the right place. Not sure exactly. Others suggested editing the header.php file, but mods advised against that. So here I am looking for the definite answer/solution on that one. I am trying to get that header top part out and just move everything up a bit (I am guessing some padding related issue) so that it is out of the way and doesnt add a third grey bar to the entire page.

    2. Issue I am encountering is that since I am iframing the page there is on some pages a secondary scroll bar. Any advice on getting rid of that would be much appreciated. Maybe an auto resizing iframe? Again, any suggestions would be appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter eerlewein

    (@eerlewein)

    not sure if this is permitted, but – bump.

    Thread Starter eerlewein

    (@eerlewein)

    Solution found.

    added the following line after <head> to remove the scroll bar.

    <script language=”JavaScript”>
    <!–
    function calcHeight()
    {
    //find the height of the internal page
    var the_height=
    document.getElementById(‘the_iframe’).contentWindow.
    document.body.scrollHeight;

    //change the height of the iframe
    document.getElementById(‘the_iframe’).height=
    the_height;
    }
    //–>
    </script>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[2013 Theme] Menue Header Removal iframe related Question’ is closed to new replies.