Forum Replies Created

Viewing 15 replies - 16 through 30 (of 79 total)
  • Thread Starter hmahraj

    (@hmahraj)

    This is my site.
    https://hersheylibrary.org/
    Meta Slider version I have is 3.6.3
    I guess I would have to go through each plugin and deactivate to find out if a bwp-minify plugin is the problem. Is there a quick way to know?
    Thanks for all the responses.

    Thread Starter hmahraj

    (@hmahraj)

    The image can be viewed if you right click and open in a new tab.

    Thread Starter hmahraj

    (@hmahraj)

    child theme header php

    It sounds like I need to create a container to make this change. That explains <div></div>.
    Does this go in the child theme editor header.php file? If so, where? Line 14 you mention, I can only see when I view the the html of website’s page source. I get the following goes inside:

    <div class="top-right right">
       <span class="top-phone"><i class="fa fa-phone"></i><?php echo esc_attr($modality_theme_options['header_phone']); ?></span>
       <span class="top-email"><i class="fa fa-envelope"></i><a href="mailto:<?php echo esc_attr($modality_theme_options['header_email']); ?>"><?php echo esc_attr($modality_theme_options['header_email']); ?></a></span>
       <div>Put your text here...</div>
    </div>

    Just know where to put it. If you can see from the image link I sent of the child theme editor, it might explain something. Alternatively, there is this, the “Edit the Theme Modality Child Header (header.php)” editor page?

    <?php
    /**
     * The Header of the theme.
     *
     * Displays all of the <head> section and everything up till <main id="main">
     *
     * @package Modality
     */
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    	<meta charset="<?php bloginfo( 'charset' ); ?>">
    	<meta name="viewport" content="width=device-width">
    	<link rel="profile" href="https://gmpg.org/xfn/11">
    	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    	<?php wp_head(); ?>
    </head>
    <body <?php body_class(); ?>>
    <div id="grid-container">
    	<div class="clear"></div>
    		<?php $modality_theme_options = modality_get_options( 'modality_theme_options' );
    		if ($modality_theme_options['header_top_enable'] == '1') {
    			get_template_part( 'top', 'header' );
    		} ?>
    		<?php if (get_header_image()!='') { ?>
    			<div id="header-holder" style="background: url(<?php echo esc_url(header_image()); ?>) 50% 0 no-repeat fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;">
    		<?php } else { ?>
    			<div id="header-holder">
    		<?php } ?>
    			<div id ="header-wrap">
          			<nav class="navbar navbar-default">
    					<div id="logo">
    						<?php if ( $modality_theme_options['logo'] != '' ) { ?>
    							<a href="<?php echo esc_url( home_url( '/' ) ) ?>"><img src="<?php echo esc_url($modality_theme_options['logo']); ?>" alt="<?php echo esc_attr($modality_theme_options['logo_alt_text']); ?>"/></a>
    							<?php if ($modality_theme_options['enable_logo_tagline'] == '1' ) { ?> 
    								<h5 class="site-description"><?php echo esc_attr(bloginfo('description')); ?></h5>
    							<?php } ?>
    						<?php } else { ?>
    							<a href="<?php echo esc_url( home_url( '/' ) ) ?>"><?php esc_attr(bloginfo( <code>name</code>)); ?></a>
    							<?php if ($modality_theme_options['enable_logo_tagline'] == '1' ) { ?> 
    								<h5 class="site-description"><?php echo esc_attr(bloginfo('description')); ?></h5>
    							<?php } ?>
    						<?php } ?>
    					</div>
            			<div class="navbar-header">
                			<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                  			<span class="sr-only">Toggle navigation</span>
                  			<span class="icon-bar"></span>
                  			<span class="icon-bar"></span>
                  			<span class="icon-bar"></span>
                			</button>
    				</div><!--navbar-header-->
              			<?php get_search_form(); ?>									
    				<div id="navbar" class="navbar-collapse collapse">
    					<?php 
    					if (has_nav_menu('main_navigation')) {
    						
    						$modality_default_menu = array(
        						'theme_location'  => 'main_navigation',
    							'menu'       => 'main_navigation',
        						'depth'      => 0,
        						'container'  => false,
        						'menu_class' => 'nav navbar-nav',
                    			'fallback_cb'       => 'wp_page_menu',
        						'walker'     => new wp_bootstrap_navwalker(),
    						);
    					
    					} else {
    						
    						$modality_default_menu = array(
        						'theme_location'  => 'main_navigation',
    							'menu'       => 'main_navigation',
        						'depth'      => 0,
        						'container'  => false,
        						'menu_class' => 'nav-bar',
                    			'fallback_cb'       => 'wp_page_menu',
    						);
    						
    					} 
    					
    					wp_nav_menu( $modality_default_menu );
    					
    					?>
    					
              			</div><!--/.nav-collapse -->
            
          </nav>
    			</div><!--header-wrap-->
    		</div><!--header-holder-->

    Is this what you called the “root’?

    Thread Starter hmahraj

    (@hmahraj)

    Thank you so much. Yes, I have a child theme but am only used to adding css to the style sheet in the Modality child theme editor. I can see how to change the file to the header. php but am afraid of messing it up. Is there any way I can send you a screenshot and you can “talk me through it”, please?

    Thread Starter hmahraj

    (@hmahraj)

    <?php
    /**
     * The Header of the theme.
     *
     * Displays all of the <head> section and everything up till <main id="main">
     *
     * @package Modality
     */
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    	<meta charset="<?php bloginfo( 'charset' ); ?>">
    	<meta name="viewport" content="width=device-width">
    	<link rel="profile" href="https://gmpg.org/xfn/11">
    	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    	<?php wp_head(); ?>
    </head>
    <body <?php body_class(); ?>>
    <div id="grid-container">
    	<div class="clear"></div>
    		<?php $modality_theme_options = modality_get_options( 'modality_theme_options' );
    		if ($modality_theme_options['header_top_enable'] == '1') {
    			get_template_part( 'top', 'header' );
    		} ?>
    		<?php if (get_header_image()!='') { ?>
    			<div id="header-holder" style="background: url(<?php echo esc_url(header_image()); ?>) 50% 0 no-repeat fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;">
    		<?php } else { ?>
    			<div id="header-holder">
    		<?php } ?>
    			<div id ="header-wrap">
          			<nav class="navbar navbar-default">
    					<div id="logo">
    						<?php if ( $modality_theme_options['logo'] != '' ) { ?>
    							<a href="<?php echo esc_url( home_url( '/' ) ) ?>"><img src="<?php echo esc_url($modality_theme_options['logo']); ?>" alt="<?php echo esc_attr($modality_theme_options['logo_alt_text']); ?>"/></a>
    							<?php if ($modality_theme_options['enable_logo_tagline'] == '1' ) { ?> 
    								<h5 class="site-description"><?php echo esc_attr(bloginfo('description')); ?></h5>
    							<?php } ?>
    						<?php } else { ?>
    							<a href="<?php echo esc_url( home_url( '/' ) ) ?>"><?php esc_attr(bloginfo( <code>name</code>)); ?></a>
    							<?php if ($modality_theme_options['enable_logo_tagline'] == '1' ) { ?> 
    								<h5 class="site-description"><?php echo esc_attr(bloginfo('description')); ?></h5>
    							<?php } ?>
    						<?php } ?>
    					</div>
            			<div class="navbar-header">
                			<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                  			<span class="sr-only">Toggle navigation</span>
                  			<span class="icon-bar"></span>
                  			<span class="icon-bar"></span>
                  			<span class="icon-bar"></span>
                			</button>
    				</div><!--navbar-header-->
              			<?php get_search_form(); ?>									
    				<div id="navbar" class="navbar-collapse collapse">
    					<?php 
    					if (has_nav_menu('main_navigation')) {
    						
    						$modality_default_menu = array(
        						'theme_location'  => 'main_navigation',
    							'menu'       => 'main_navigation',
        						'depth'      => 0,
        						'container'  => false,
        						'menu_class' => 'nav navbar-nav',
                    			'fallback_cb'       => 'wp_page_menu',
        						'walker'     => new wp_bootstrap_navwalker(),
    						);
    					
    					} else {
    						
    						$modality_default_menu = array(
        						'theme_location'  => 'main_navigation',
    							'menu'       => 'main_navigation',
        						'depth'      => 0,
        						'container'  => false,
        						'menu_class' => 'nav-bar',
                    			'fallback_cb'       => 'wp_page_menu',
    						);
    						
    					} 
    					
    					wp_nav_menu( $modality_default_menu );
    					
    					?>
    					
              			</div><!--/.nav-collapse -->
            
          </nav>
    			</div><!--header-wrap-->
    		</div><!--header-holder-->
    Thread Starter hmahraj

    (@hmahraj)

    Does anybody know if there is a plugin that can integrate with an already installed events calendar currently used to register for programs that can act as a “tiny calendar” of the same?

    Thread Starter hmahraj

    (@hmahraj)

    I hope it works out for you. Let me know; I would be interested.
    H

    Thread Starter hmahraj

    (@hmahraj)

    Resolved with Responsive Thumnail Slider plugin.

    Thread Starter hmahraj

    (@hmahraj)

    Responsive Thumbnail Slider plugin was the solution.

    Thread Starter hmahraj

    (@hmahraj)

    Not sure what you mean by it being a different link. The link to the website and my profile link?

    Thread Starter hmahraj

    (@hmahraj)

    THANK YOU! That worked beautifully. Now all the hyperlinked text is the same color and no need to underline text in the sidebar widget to imitate hyperlinks. (Laugh)

    My bullet hypertext is also blue. Yeah! Brilliant. The bold attribute is also gone. You have helped so much, Geoffrey.

    Funnily, I think the look of the website has become too blue. Now, maybe I will consider a different background or change the header color. ??

    Thread Starter hmahraj

    (@hmahraj)

    Hello,
    Thanks for your response. Yes, I managed to change the hyperlink color by changing the theme color but it still has the bold attribute so I am anxious to try the css you suggest. Thank you very much for your help.

    The theme behaves a little odd in that if you hyperlink text and add bullets the hyperlinked text stays black. The hyperlinked text in the sidebar widget stays black as well. Only text in posts take on the change in theme color. So much I don’t understand. ??

    Forum: Fixing WordPress
    In reply to: Updating the theme
    Thread Starter hmahraj

    (@hmahraj)

    Thanks.

    Thread Starter hmahraj

    (@hmahraj)

    The changes I first made by adding css to the Editor were all pre-child theme and still today suppress the parent theme for the two sites, https://ya.hersheylibrary.org/ and https://children.hersheylibrary.org/

    No subsequent theme update has occurred since the time of the first one related to https://ya.hersheylibrary.org/ when I saw my changes were undone. So, there’s nothing I can show you.

    I was concerned about the next theme update undoing the changes unless I added the css. And you have answered that. Thank you, Andrew.

    My main concern now for this site – https://ya.hersheylibrary.org/ – is what to do if “Categories Archived” shows up again when this theme is next updated and after I have added all the css I recorded adding to the parent theme to its child theme. Does this make sense? I hope so.

    The Categories Archive was where I am sure I removed rather than added something from the Editor in the parent theme. Will it just reappear in the parent theme?

    Thank you for your patience.

    Thread Starter hmahraj

    (@hmahraj)

    Would it hide the “Categories Archive” before each post/page?

Viewing 15 replies - 16 through 30 (of 79 total)