Loading page already opened?

  • Posted in : BookCard WP
  • ExplosiveLLC
    Participant

    Hey, I’m really digging this theme, although I’d like to have the website load with the start page already opened, and all 3 sections showing. Is this possible?

    Thanks!

    http://www.kristopher-peterson.net

    ahmetsali
    Keymaster

    Hi, paste the code below to the “External JS” box under Theme Options > Style:

    <script>
    	jQuery(document).ready(function($)
    	{
                setTimeout( openMenu, 1000 ); // Tip: 1000 ms = 1s
    	});
    </script>
    
    ExplosiveLLC
    Participant

    Thank you!

    Anonymous
    Inactive

    I’m interested in a variation on this — I’d rather have it simply be in the open state, rather than have it open automatically (i.e. You don’t ever see the front cover unless you close the folds)

    Anonymous
    Inactive

    I haven’t quite discovered the effect I want, but can clarify some of the requirements. The three panels should appear open by default, without transitions. They just appear. However, afterward all is loaded, the closing and re-opening transitions still animate.

    Anonymous
    Inactive

    The way I found to do this is to edit header.php and change
    <div id="rm-container" class="rm-container rm-closed">

    to
    <div id="rm-container" class="rm-container rm-open">
    Please advise if there is a preferred means that doesn’t involve editing theme files (using overrides in Theme Options -> Style)

    Anonymous
    Inactive

    …. which has the effect of killing the responsive layout at lower resolutions. UGH. please help!

    ahmetsali
    Keymaster

    @beresonant

    try this custom css code to fix the responsive layout;

    .safe-mod .rm-container.rm-open .rm-cover {
    	-webkit-transform: none;
    	-moz-transform: none;
    	-o-transform: none);
    	-ms-transform: none;
    	transform: none;
    }
    
    .safe-mod .rm-container.rm-open .rm-right {
    	-webkit-transform: none;
    	-moz-transform: none;
    	-o-transform: none);
    	-ms-transform: none;
    	transform: none;
    }
    
    Anonymous
    Inactive

    Thank you. The combination of my single edit to header.php, and this CSS does the trick.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register