• Resolved nikpisu

    (@nikpisu)


    I am really satisfied because it adapt in a really good way to mobile view. But i have 3 problems. Even if in settings>reading>For each article in a feed, show, i chosen summary, the articles are still shown completely in the main page. why? it’s really bad, cause i would like a lighter view for the reader. And i would like to ask you how can i make all the pics the same size, because they are all different and i really think it’s horrible. Last thing, i would like to be possible to open articles not only by clicking the title but also by clicking in the pic. Can you give me any advice please?? This is my website, have a look please and give me some advice if you can.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter nikpisu

    (@nikpisu)

    I fixed everything except one thing. can i know how to make the image clickable( not only the test) to get into the post?
    This is my website lacrescitapersonale.net, if you know how to do it, please tell me. If you have another advice it’s welcome too 😉

    You could use simple-image-sizes plugin for image sizes.

    I don’t know if it’s a good practice to resize images of all aspect ratios into one ratio (it may not look good, I could be wrong).

    @nikpisu, first you want to create a child theme.

    Then you want to make a copy of the content.php file from the parent theme folder into your child theme folder.

    In your child theme’s copy of content.php, look for this code. This is the code which outputs the featured image:

    <header class="entry-header">
    	<?php if ( ! post_password_required() && ! is_attachment() ) :
    		the_post_thumbnail();
    	endif; ?>

    Modify it so it looks like this:

    <header class="entry-header">
    	<?php if ( ! post_password_required() && ! is_attachment() ) : ?>
    		<a href="<?php the_permalink(); ?>" rel="bookmark">
    		<?php the_post_thumbnail(); ?>
    		</a>
    	<?php endif; ?>

    Thread Starter nikpisu

    (@nikpisu)

    where to create the child theme? do i need to use the ftp?

    Yes, you would use either FTP or your host’s control panel to create a new folder, like /wp-content/themes/twenty-twelve-child. Then you would create a functions.php and style.css file in that folder as described in the instructions. And then copy over the content.php file from the twenty-twelve folder into your child theme folder.

    Thread Starter nikpisu

    (@nikpisu)

    Thanks!! I did it in my way. I just want to know, why when you click on a picture, to open the post, it pops out a rectangle between the pic and the title (of course it happens before to open the post you want to open, so in the main page), and if it’s possible how to settle the problem?

    It doesn’t look like you created the child theme correctly. Just as a note of caution, updates to the parent Twenty Twelve theme will not affect your site, which may or may not be important to you. If a future major upgrade to WordPress causes the theme to break, you won’t be able to easily upgrade the theme.

    Add this CSS rule to remove the box under the image:

    .entry-header a
    {
       outline: none;
    }

    Thread Starter nikpisu

    (@nikpisu)

    where do i have to enter this line exactly?? .entry-header a
    {
    outline: none;
    }

    You can use Jetpack’s Custom CSS option. First, activate the option by going to Jetpack → Settings. Once you activate Custom CSS, go to Appearance → Edit CSS. Copy & paste the rule at the very end of the editor and save it.

    Thread Starter nikpisu

    (@nikpisu)

    thank you. perfect everything is pretty fine 😉

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘using twenty twelve now.’ is closed to new replies.