Support » Theme: Savile Row » Savile Row Theme Homepage Setup

  • A couple of things I’d like to do with the homepage setup on my staging site http://sproutleyretailers.launchcafe.net/

    First, I want to make the “Partners” section on the bottom of the page open in a new window when the logos are clicked. How can I accomplish this?

    Secondly, on staging site http://pneo.launchcafe.net/, I would like to make the section below the promotional bar (below where it says The pNeo Difference) to have those entire three blocks clickable… not just the headlines within the blocks. How can I accomplish this?

    Great theme and I am using it in a number of projects.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter travispneo

    (@travispneo)

    Anything?

    Theme Author Tom De Smedt

    (@steven_gardner)

    Hi Travispneo,

    Sorry for the delay in response. I don’t get to look at these forums as much as I should.

    Both those requests will require you to edit the theme templates I’m afraid.

    1: edit the template: inc/template-tags.phpline 688

    Replace the following line
    <a href="<?php echo esc_url( get_theme_mod( 'logo_' . $key . '_url' ) ); ?>">
    with
    <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'logo_' . $key . '_url' ) ); ?>">

    2: This is a little more tricky
    Paste the following into the bottom of your stylesheet or in your child theme stylesheet or a custom CSS editor plugin:

    .featured-content a h4{
    	font-size: 1.4em;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #0A4D6D;
    	}

    Next edit the following template, inc/template-tags.php

    The lines 533 – 544 should start and end with the following code:
    533 = <div id="post-<?php the_ID(); ?>" <?php post_class( 'col-sm-4 animated box-' . $count ); ?> class="col-sm-4 col-sm-4 box-1 animated" data-fx="fadeInUp">
    …..
    544 = </div><!-- #post-## -->

    You want to edit whats between those lines so they look like the following:

    <div class="featured-content">
      <?php echo '<a href="' . esc_url( get_permalink() ) . '" rel="bookmark">';?>
         <?php the_post_thumbnail( 'savile-row-featured' ); ?>
         <div class="overlay">
    	<h4><?php the_title(  ); ?></h4>
    	<?php the_excerpt(); ?>
         </div>
      <?php echo '</a>'; ?>
    </div>

    Now I’ve only briefly tested this out so you should always take a backup and test locally first. Hopefully that should get you the desired effect.

    Hi,

    I have a problem with that theme, I can not delete the author on the modified page that appears on the site. can you help me ?
    Thank you

    Theme Author Tom De Smedt

    (@steven_gardner)

    Hi,

    there is no option in the theme to remove this so you have a couple of options:

    Download and install a plugin that allows you to add custom CSS then add the following to it

    .site-content footer > div:last-child {
        display: none;
    }

    This will hide the author block

    Or

    You can edit the php templates and remove the code blocks that display the author section.

    Hi,

    Thx for reply, but i try to put this in Css but after that my web site is down ! if i try to connect in web site i have blank page.

    Theme Author Tom De Smedt

    (@steven_gardner)

    The plugin you added probably has a bug in it then.

    Adding the CSS I supplied will not stop your site displaying but a badly coded plugin will.

    Try deactivating that plugin you just added. and look for a CSS editor plugin thats got good support and no known bugs for the latest version of WordPress.

    Where have you added the CSS?

    I took the pluning Simple CSS, i uninstalled it pluning but unfortunately nothing changes ..

    Theme Author Tom De Smedt

    (@steven_gardner)

    It sounds like you have some code thats breaking your site.

    Try switching themes to “Twenty Sixteen”. If its still broken then you have a broken plugin. and you should deactivate them one by one until you identify the broken plugin.

    If switching the theme, with all your active plugins, fixes things then it looks like its Savile Row theme is broken and I can only assume that you’ve changed some code as I not had any other reports of a broken theme and I’ve tested it myself and it was working for you before.

    You can try deleting the existing Savile Row and installing a new copy.

    So i delete your theme and instal the new one nothing change, i change theme with Twenty Sixteen” same way i try to désactive some pluning, but at the end what is my solution ? if nothing works ? sry for my bad english !

    you right it’s update of plugin (Store locator) kill the web site ! then your code

    .site-content footer > div:last-child {
    display: none;
    }

    work perfectly

    Thx for take time for help me.

    Have good day

    King regards

    Theme Author Tom De Smedt

    (@steven_gardner)

    No Problem

    Hi,

    I have one last request always on the same subject but I would like to hide the date and also view all post by … Thx

    Theme Author Tom De Smedt

    (@steven_gardner)

    Identify the element on the page you want to hide using Developer Tools (https://developer.chrome.com/devtools/docs/dom-and-styles), then add display:none;

    .element-name{
      display:none;
    }
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Savile Row Theme Homepage Setup’ is closed to new replies.