Maruti Mohanty
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hiero] Why header title is changing from bold to thin font?Hi All,
In the home/front page it adds a h1 tag and hence the fonts look bold and in other pages it adds a div and hence does look bold.
If you like the bold thing add the below in your child theme’s style.css file and it would be bold throughout
.site-title { font-weight: bold; }but if you like the unbold thing which appears in the rest of the page then add the below
.site-title { font-weight: normal; }and the front/home page site title will get normal.
PS: I suggest all to use a child theme to make the changes so that the change remains even after the theme is updated.
Hope it helps!
Thanks
Forum: Themes and Templates
In reply to: [Solon] Only half of my title is showingThis might be because you wouldn’t have included the fonts the correct way whereas the plugin does it for you.
Forum: Themes and Templates
In reply to: [Solon] border or line around imageHi
You can add border to the images by adding the following code to the theme’s style.css file. I would advice you to make the changes by using a Child theme.
.alignleft { border: 1px solid #ccc; }Forum: Themes and Templates
In reply to: [Solon] border or line around imageHi
You can add border to the images by using the following code in your style.css file. I would advice you to go for child theme to make such changes
.alignleft { border: 1px solid #ccc; }Forum: Themes and Templates
In reply to: [Solon] Only half of my title is showingHi
It seems like you have fixed the issue.
Can you please share the solution and steps how you fixed it so that other facing the same can get help out of it and also make this thread resolved.
Cheers
Forum: Themes and Templates
In reply to: [Solon] Only half of my title is showingHi
Can you please share a link to the site so that we can have a look?
Thanks
Forum: Themes and Templates
In reply to: [Solon] border or line around imageHi
Can you share a link to your site and also add details of the section where we need to look
Thanks
Hi ray760,
It is always advisable to open a new thread for new question because however close a question may seem to, will be different in a way or the other.
I looked into you your site and found that you have customized “continue reading” to a beautiful reading button which says click here for more details.
Please let us know if you want anything else!
PS: Also I noticed that you aren’t using the pretty permalinks and rather using the wordPress’ default permalinks.
Pretty permalinks are good for SEO, so you might want to change it in the settingsThanks
Forum: Themes and Templates
In reply to: [Hiero] google Structured Data Testing ToolGlad it helped 🙂
Forum: Themes and Templates
In reply to: [Hiero] google Structured Data Testing ToolHi,
To fix the error you need to add updated class to the time tag.
You can do it by making the changes in the child theme.
You need to replace the following line in /inc/template-tags.php file line number 169 in function athemes_posted_on
Add the class updated so that it looks like the below:-
function athemes_posted_on() { $time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';Hope it helps
Thanks
Forum: Themes and Templates
In reply to: [Hiero] text wrap frontpageGlad it worked 🙂
Forum: Themes and Templates
In reply to: [Hiero] Change "function athemes_posted_on"Hi Briesmi,
In case you haven’t figured out the custom function, you can use the below in your child theme’s functions.php file
function heiro_human_time_diff( $timestamp ) { $date = date('Y-m-d', $timestamp); $today = date('Y-m-d'); $yesterday = date('Y-m-d', strtotime('yesterday')); // Checking the status if ( $date == $today ) $status = 'Today'; else if ( $date == $yesterday ) $status = 'Yesterday'; else $status = get_the_date(); return $status; }and in the athemes_posted_on function, replace human_time_diff which I suggested earlier with the custom function heiro_human_time_diff
so it looks like the following
$time_string = sprintf( $time_string, esc_attr( get_the_date( 'c' ) ), esc_html( heiro_human_time_diff( get_the_date('U') ) ), esc_attr( get_the_modified_date( 'c' ) ), esc_html( get_the_modified_date() ) );Hope it helps
Thanks
Forum: Themes and Templates
In reply to: [Fashionistas] Featured Image SizeHi Michelle,
I see you got an image size defined, and you will have to figue that out.
For example the home page has ‘thumb-featured’ which is defined in the functions.php file line number 45 which reads
add_image_size( 'thumb-featured', 640, 250, true );so now you have to find the handle which is fefined to image size 298X300
please look for it and use the handle you found in line number 25 for content.php file which reads
<?php the_post_thumbnail( 'thumb-featured' ); ?>Replace thumb-featured with the custom handle defined
Hope it helps
Thanks
Forum: Themes and Templates
In reply to: [Hiero] text wrap frontpageHi
The solution given by techievous also works but the alignment doesnt work.
I was checking the site and found you just need to remove the below code than adding anything else to it.
.entry-summary { margin: 0 0 20px 260px; }It is in your style.css file, line number 645.
Hope it helps.
Forum: Themes and Templates
In reply to: [Hiero] Change "function athemes_posted_on"Hi Briesmi,
This is definitely possible but you will have to built up a custom function for this.
You can take reference form how Human time diff works.
Thanks