ikaring
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: link getting in the way of commentsIn your theme’s style.css, there is
float: lefton#comments .comment-body.
So easiest way is just add this css with a custom css plugin.#comments .comment-body { float: none; }Forum: Fixing WordPress
In reply to: Multiple Post Categories PLUS Parent CategoriesHi. Its not a solution but could be a hint, I hope.
<?php $catobj = get_category_by_slug( 'rock' );// get category slug somehow $parent_id = $catobj->category_parent; if ( !empty($parent_id) ){// when parent category exists $parentname = get_the_category_by_ID( $parent_id ); var_dump($parentobj); } ?>Forum: Fixing WordPress
In reply to: Responsive elements not workingHi.
Pls check developer tools of your browser if there are some javascript errors or not.
If you can provide the url, that would be easier.Forum: Fixing WordPress
In reply to: How to load Google Jquery library Async or Defer?I think this line is not correct.
if ( 'jquery/1.11.3/jquery.min.js' !== $handle )It should be like so:
if ( 'jquery' !== $handle )Forum: Fixing WordPress
In reply to: Hover effect issueUsually, SASS files are compiled to a css file beforehand, and load the css file to pages.
So be sure to enqueue parent theme’s style.css or include it to child theme’s style.css.Forum: Fixing WordPress
In reply to: Hover effect issueI thought if DOM structures matches
.block1_grid article:hover .entry-title a, then only possibility is correct css file is not loaded.
Pls check if your style.css has.block1_grid article:hover .entry-title a, not in the SASS file.Forum: Fixing WordPress
In reply to: Hover effect issueOK.
Then, you need to check developer tools of browser yourself to see why that specific css rule is not applied to the titles.
I doubt if that css (not SASS) is read though.Forum: Fixing WordPress
In reply to: Hover effect issueCan I have the URL?
Forum: Fixing WordPress
In reply to: Hover effect issueDoes parent/ancestor element of article has .block1_grid class?
It’s outside of your code snippet shown above.Forum: Fixing WordPress
In reply to: Hover effect issueAh, then this selector is the point.
They put :hover on article tag..block1_grid article:hover .entry-title aForum: Fixing WordPress
In reply to: Hover effect issueJust wrap whole block inside the article with a tag, instead of wrapping thumbnail image only.
<article id="post-<?php the_ID(); ?>" <?php post_class( 'col-md-6 col-sm-12' ); ?>> <a href="<?php echo esc_url( get_permalink() ); ?>" title="<?php the_title(); ?>"> <div class="entry-thumb"> <?php if ( has_post_thumbnail( ) ) { the_post_thumbnail( 'codilight_lite_block_2_medium' ); } else { echo '<img alt="'. esc_html( get_the_title() ) .'" src="'. esc_url( get_template_directory_uri() . '/assets/images/blank325_170.png' ) .'">'; } ?> <?php $category = get_the_category(); if($category[0]){ echo '<a class="entry-category" href="'.get_category_link($category[0]->term_id ).'">'.$category[0]->cat_name.'</a>'; } ?> </div> <div class="entry-detail"> <header class="entry-header"> <?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?> <?php if ( 'post' === get_post_type() ) codilight_lite_meta_1();?> </header><!-- .entry-header --> <div class="entry-excerpt"> <?php echo codilight_lite_excerpt(120); ?> </div><!-- .entry-content --> </div> </a> </article><!-- #post-## -->Forum: Fixing WordPress
In reply to: Widget area font is different on one page only – where to look?It is hard to guess the reason, but you can check by yourself with developer tool of browser, which css rules are applied to the area.
Forum: Fixing WordPress
In reply to: Adding Featured Stories to DashboardSince your theme is not resistered in WordPress.org theme directories, you’d better ask theme author.
Forum: Fixing WordPress
In reply to: How to turn dashboard button fixed?Hi.
css should looks something like this:.profile-php #submit { position: fixed; bottom: 1rem; right: 1rem; }Forum: Fixing WordPress
In reply to: Adding Featured Stories to DashboardHi.
You should check your theme template.
It should be something like main.php used for this page.