Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter ross24

    (@ross24)

    I managed to resolve the issue of the slider disappearing by making a new slider and deleting my old one. I tried resolving the issue in a few ways, nothing else I tried fixed the problem. When I loaded the site I kept seeing the slider for a second and then it would disappear.

    I managed to reduce the height of the slider by fiddling with the padding settings in the plugin settings menu.

    Thread Starter ross24

    (@ross24)

    I worked out the blue mountains page was using the page.php template file as oppose to the index.php file.

    Then after lots of experimentation I got it working by altering the bottom of the page.php template file to the below

    Before the modifications the sidebar.php was outside of the primary div and the code related to the comments was inside the primary div.

    This is what the code looks like after the modification

    <?php get_sidebar(); ?>
    
    </div><!-- #primary -->
    
    <?php
                        // If comments are open or we have at least one comment, load up the comment template
                        if ( comments_open() || '0' != get_comments_number() ) :
                            comments_template();
                        endif;
                    ?>
    
    <?php get_footer(); ?>
    Thread Starter ross24

    (@ross24)

    I have now chosen that custom template for the BLue Mountains page.

    The code for the custom template is

    <?php
    /**
    * Template Name: Full Width, No Sidebar
    *
    * @package Penscratch
    */

    // Access global variable directly to set content_width
    if ( is_active_sidebar( ‘sidebar-1’ ) && isset( $GLOBALS[‘content_width’] ) )
    $GLOBALS[‘content_width’] = 1091;

    get_header(); ?>

    <div id=”primary” class=”content-area”>
    <main id=”main” class=”site-main” role=”main”>

    <?php while ( have_posts() ) : the_post(); ?>

    <?php get_template_part( ‘content’, ‘page’ ); ?>

    <?php
    // If comments are open or we have at least one comment, load up the comment template
    if ( comments_open() || ‘0’ != get_comments_number() ) :
    comments_template();
    endif;
    ?>

    <?php endwhile; // end of the loop. ?>

    </main><!– #main –>
    </div><!– #primary –>

    <?php get_footer(); ?>

    Thread Starter ross24

    (@ross24)

    These are the only PHP files I can see

    Templates
    404 Template
    (404.php)
    Archives
    (archive.php)
    Comments
    (comments.php)
    content-none.php
    content-page.php
    content-single.php
    content.php
    Theme Footer
    (footer.php)
    Full Width, No Sidebar Page Template
    (fullwidth-page.php)
    Theme Functions
    (functions.php)
    Theme Header
    (header.php)
    custom-header.php
    (inc/custom-header.php)
    customizer.php
    (inc/customizer.php)
    extras.php
    (inc/extras.php)
    jetpack.php
    (inc/jetpack.php)
    template-tags.php
    (inc/template-tags.php)
    Main Index Template
    (index.php)
    Single Page
    (page.php)
    Search Results
    (search.php)
    Sidebar
    (sidebar.php)
    Single Post
    (single.php)
    Styles
    Stylesheet
    (style.css)
    Visual Editor Stylesheet
    (editor-style.css)
    RTL Stylesheet
    (rtl.css)

    I am unsure which one you are referring to

    Thread Starter ross24

    (@ross24)

    I just tried the following URL

    https://www.rosstheexplorer.com/wp-content/themes/penscratch/page-templates/

    I got told that the page can’t be found

    Thread Starter ross24

    (@ross24)

    My theme is Penscratch

    Thread Starter ross24

    (@ross24)

    I am confused how I acces them files. Do I do it via Editor? I am not sure where to look in the Admin section.

    Thank you for the help

    Thread Starter ross24

    (@ross24)

    UPDATE – I altered the bottom of the index .php

    <?php get_sidebar(); ?>

    </div><!– #primary –>

    <?php get_footer(); ?>

    Then I messed around with the comment area in the IE developer tools. It became apparent that the comment area was part of the side bar or / and widget area. When I changed the width of the comment area to 200px it moved to the right hand side of the content as opposed to underneath it.

    Then using IE developer tools I moved the comment area so it was nested in content – area. Then both the comment area and FB plugin appeared how I wanted them to appear.

    How do I alter my code to get the comment-area to be permanently nested in content-area?

    Thread Starter ross24

    (@ross24)

    Unfortunately that did not work. Do you have any other suggestions?

    Thank you

    Thread Starter ross24

    (@ross24)

    In index.php I moved the line –

    <?php get_sidebar(); ?>

    Above the line –

    <?php if ( have_posts() ) : ?>

    I made the changes on my phone. Tomorrow morning I will be able to check if the changes have worked.

    Thread Starter ross24

    (@ross24)

    I went on the page which had comments and I used the IE developer tool. I moved the widget-area into .site-content and the FB widget moved back to the right side of the page.

    How do I program in this change to make it permanent? How do I control the order divs are displayed in .site-content?

    Thank you

    Ross

    Thread Starter ross24

    (@ross24)

    Thank You

    I had not thought about exploring the Plugins CSS files. I looked in the CSS files and saw a link to a support page relates specifically to the FB plugin I was using. The plugin developer then gave me some more prompts and my problem is now sorted ??.

    Thread Starter ross24

    (@ross24)

    Thank You

    I looked at your screenshots and they prompted me to use the IE developer tools.

    I was able to solve my problem by a) increasing the width of my widget to 28% b) replacing my Jetlack FB plugin with your plugin. I didn’t realise I had the Jetpack one set up.

    Thread Starter ross24

    (@ross24)

    I have just looked at the my code in more detail and noticed the origianl CSS code I included was for devices with a minimum width of 50em. My issue only occurs on large screen devices. For devices with a minimum width of 75em there is the following code

    @media screen and (min-width: 75em) {
    	.site {
    		max-width: 1153px;
    		margin: 54px auto;
    		padding: 54px 108px;
    
    	}
    }

    Where would I enter the code

    ._1dro ._1drp {
        font-size: 16px;
    }

    I have seen some people discuss child themes before. Once I have solved the font issue I will focus on moving the new code to a child theme.

    @media screen and (min-width: 50em) {

    Thread Starter ross24

    (@ross24)

    Thank you for your replies

    This is my website https://rosstheexplorer.wordpress.com/

    I want to know how to remove ‘Home Page’ from the top of the page.

Viewing 15 replies - 1 through 15 (of 15 total)