Home Forums Themes Support Claue translation or css bug

Topic Resolution: Resolved
Viewing 23 reply threads
  • Author
    Posts
    • #23002

      Hi Harry,

      Could you please check this : http://take.ms/kQRxN

      You can see that in the Look.ir/mag

      How can I fix the space?
      It’s translation or css?

      Thank you.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #23020

      Hi Rahim,

      Please add below code

      .rtl .post-meta span:not(:last-child) {
          margin-left: 5px;
      }

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #23021

      Harry,

      I just realized that under the blog post, there is the comment counter, so for the better UX and having better post title maybe there is no need to have the comments quantity on the title!

      How can I hide it in the title?

      Regards. 🙂

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #23022

      Harry,

      Don’t you think that the Title of a post is more important than the Author’s name and the date of the publish?

      I think you should reorder the lines. check here!

      And now I see an unusual space after the name of the author.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #23062

      Hi Rahim,

      It have space between comment number with categories.

      The title style with bigger font size and user can see the title on the first so we don’t think the change can make it better.

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #23067

      Yeah Harry,

      After the given code, I see the space between name of the author and categories.

      So how can I hide the comment counter in the title?

      Regards.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #23101

      Hi Rahim,

      Please add below code to functions.php in claue-child

      if ( ! function_exists( 'jas_claue_post_meta' ) ) {
      	function jas_claue_post_meta() {
      		$output = '';
      		// Post author
      		$output .= sprintf(
      			esc_html__( '%1$s', 'claue' ),
      			'<span class="author vcard pr" ' . jas_claue_schema_metadata( array( 'context' => 'author', 'echo' => false ) ) . '>' . esc_html__( 'By ', 'claue' ) . '<a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . esc_html( get_the_author() ) . '</a></span>'
      
      		);
      
      		// Post categories
      		$categories = get_the_category_list( esc_html__( ', ', 'claue' ) );
      		if ( $categories ) {
      			$output .= sprintf(
      				'<span class="cat pr">' . esc_html__( 'In %1$s', 'claue' ) . '</span>', $categories 
      			);
      		}
      
      		// Post comments
      		if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
      		    $comments_number = get_comments_number();
      		    
      			if ( '1' === $comments_number ) {
      				$output .= '<span class="comment-number pr"><a href="' . get_comments_link() . '">' . sprintf( _x( 'Comment', 'comments title', 'claue' ), get_the_title() );
      				$output .= '</a></span>';
      			} else {
      				$output .= '<span class="comment-number pr"><a href="' . get_comments_link() . '">' . sprintf(
      					_nx(
      						'Comment',
      						'Comments',
      						$comments_number,
      						'comments title',
      						'claue'
      					),
      					number_format_i18n( $comments_number ),
      					get_the_title()
      				);
      				$output .= '</a></span>';
      			}
      		}
      
      		echo apply_filters( 'jas_claue_post_meta', '<div class="post-meta fs__12">' . $output . '</div>' );
      	}
      }

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #23108

      Hi Harry,

      I added the code and now it’s like this :

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #23109

      Harry the above image that I sent you is taken from Chrome.

      In the Firefox the name of the Author is cut.

      Consider the last alphabet of the name :

      I always forgot to discus this with you. I remember this in the earlier theme’s version

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #23120

      Hi Rahim,

      I don’t see you add the code

      .rtl .post-meta span:not(:last-child) {
          margin-left: 5px;
      }

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #23128

      Hi Harry,

      I already added that to the style.css but made it as a comment.

      now it’s active but it’s not what I am looking for.

      I would like to completely hide the comment numbers in that line.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #23145

      Hi Rahim,

      The code i send you add to functions.php did not hide comment number?

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #23146

      Hi Harry,

      No! I added the code to the functions.php and added the css you gave me to the style.css

      You can see the results in my Blog page!

      The only thing that happened is the space between the words and appearing the word “comment” there!

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #23161

      Yes, it remove number of comment on blog. You want complete remove “Comment” text?

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #23163

      Hi Harry,
      Well the code that you gave me didn’t remove the comment section.

      I would like to hide it.

      Thank you.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #23164

      Your question not clear. You tell me that you want hide comment number not all comment.

      Please remove the code in functions.php and add more css code

      .post-meta span.comment-number {display: none;}

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #23169

      Sorry Harry if we misunderstood each other. 🙂

      You are right. the question and the subject was a little confusing.

      Now it’s exactly what I meant.

      I just wana know is there any chance to reorder the title of the post with the line of author’s name and category?

      And do you have any solution for the search results page? I mean adding the primary sidebar in this page.

      Kind regards.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #23176

      Hi Rahim,

      1. Please add below code to functions.php

      if ( ! function_exists( 'jas_claue_post_thumbnail' ) ) {
      	function jas_claue_post_thumbnail() {
      		?>
      			<div class="post-thumbnail pr mb__25">
      				<?php if ( has_post_thumbnail() ) : ?>
      					<a href="<?php esc_url( the_permalink() ); ?>" aria-hidden="true">
      						<?php the_post_thumbnail( 'post-thumbnail', array( 'alt' => get_the_title() ) ); ?>
      					</a>
      				<?php endif; ?>
      				<div class="pa inside-thumb tc cg">
      					<?php jas_claue_post_title(); ?>
      					<?php jas_claue_post_meta(); ?>
      					<?php jas_claue_posted_on(); ?>
      				</div>
      			</div>
      		<?php
      	}
      }

      2. For search result page, please download attach file and put in to claue-child

      Best regards

      Attachments:
      You must be logged in to view attached files.

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #23185

      Hi Harry,

      Great.

      I think the idea of the primary sidebar in the search page is not bad to be included on your next update. 🙂

      Today I was taking with one my friends about you and the team.

      The best support ever I have seen comes from you.

      We have purchased many items online and talked with lots of authors and their team but you are the best. <3

      Thank you all the time.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #23186

      Harry,

      The function that you gave me is working great.

      But I realized that it doesn’t override the latest post in the slider of the blog page.

      How can I fix that too?

      And also pay attention to the Author’s name in Chrome and Firefox

      Chrome :

      Firefox :

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #23213

      Hi Rahim,

      Thank you for your kind words!

      1. We included sidebar on search page for the next update.

      2. For blog on slider please copy file latest.php in claue > views > post to claue-child > views > post and reorder line 33 and line 32

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #23236

      Thank you Harry,

      It’s done now.

      Do you have any solution for the cutted alphabets of Author’s name in Firefox?

      Best regards.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #23251

      Hi Rahim,

      Please add below code

      .post-meta .author a {display: inline-block;}

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #23256

      Thank you Harry 🙂

      Fixed.

      Rahim Vaziri
      CEO & Founder at Look.ir

Viewing 23 reply threads

You must be logged in to reply to this topic.