Unable to locate the hover animation feature on the product box

Attempting to recreate the image box from this page

on my blog where the blog posts are displayed. I believed all that was required was a thumbnail arrow, but it is not displaying correctly with the current CSS file.

<style>

.thumbnail-arrow { width: 28px; height: 28px; position: absolute; bottom: -9px; right: 20px; background-image: url(./images/sprite1.png); background-size: 4300%; background-position: 7.993% 82.292%; transition: all 0s ease-in-out; }
</style>

 <?php if ( has_post_thumbnail() ) {
    the_post_thumbnail();
    } else { ?> 
    <a href="<?php the_permalink(); ?>"><img src="<?php     bloginfo('template_directory'); ?>/images/default-image.jpg" alt="<?php  the_title(); ?>" /></a>
<?php } ?>
                     <div class="thumbnail-arrow"></div>
       </div>

Trying to mimic the hover effect here, but unable to figure out where the orange color is applied on the product image in the first link along with the arrow

Answer №1

You'll find the necessary changes in your style.css on line 690.

/* Adjust Link Appearance */
a { color: #333333; text-decoration: underline; line-height: inherit; }
a:hover, a:focus { color: #f87b06; text-decoration: none; }
a img { border: none; }

Additionally, make adjustments to the arrow design at line 1118.

.products a:hover .thumbnail-arrow {
    background-position: 5.442% 82.292%;
    transition: all 0s ease-in-out;

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Struggling with html tag formatting with the help of hogan.js and typeahead.js

I'm currently using the script below: $('#Entity_Wall').typeahead({ name: 'walls', remote: "http://localhost/getsomestuff?text=%QUERY', limit: 10, template: '{{value}}<div class="te ...

Instructions for applying a border style to a dynamically generated table using jQuery

I'm currently working on adding CSS to a table that is generated dynamically when a button is clicked. The function that is triggered on the click event includes the following jQuery code to create the dynamic rows: $("#employeDetail").append('& ...

When the button is clicked, redirect to a new page and submit a form using AJAX with data obtained from the click event

I have a page called 2.html where inputting an ID number results in some output being displayed. This functionality is achieved using Ajax post method, sending data along with the data parameter. I also have another page named 1.html that contains a list o ...

What is the best way to line up changing column values with changing row values in an HTML table?

In its current state, the data appears as follows without alignment: https://i.sstatic.net/o5OLu.jpg The data columns are housed within a single variable due to the presence of multiple excel tabs with varying columns. Within the tr tag, rows are checked ...

having difficulty showing the primary content page

I'm having trouble displaying a header, side navigation bar, and main content on my page with the code below. Instead of showing anything, I keep getting a parse error: unexpected end of file. What could be causing this issue? <!doctype html> ...

What is the best way to ensure that the background of my sticky table th stays in place and does not scroll away

I have a dynamic table where the table body rows are loaded dynamically. The wrapper uses Bootstrap5's overflow-scroll feature to keep the table at a fixed height and scroll if there are too many rows. I managed to make the table head sticky, but had ...

Cron job causing issues with wp_insert_user function

Trying to set up a WordPress cron job, but encountering issues with the wp_insert_user function. $user_data = array( 'user_login' => $fields['employee_number'], 'user_pass' => wp_hash_password($fields[&ap ...

What could be causing my image to lose responsiveness as the screen size gets smaller?

Struggling to figure out why the image is not responsive when the screen size decreases. I'm trying to create a signature block where the image adjusts in size, preventing the wrapper from stacking into two columns and keeping it as one. I've tr ...

Guide to successfully navigating to a webpage using page.link when the link does not have an id, but is designated by a

This is my current code snippet: async function main(){ for(int=0;int<50;int++){ const allLinks = await getLinks(); //console.log(allLinks); const browser = await puppeteer.launch({ headless: true }); const page = await browser.newPa ...

Inscribe latitude from marker onto input field

Currently, I am working on a feature where markers are added to Google Maps API v3 by clicking on the map. Each marker then displays its coordinates in an info window. However, I am facing an issue with picking up the latitude and longitude values and inse ...

Steps for implementing Onclick event within the <Script> tag to display a div:

I am currently working on a code that allows me to show and hide a <div> element after clicking on an advertisement from any website. This advertisement is generated by a script. How can I implement the onclick event within the <script> tag? T ...

Real-time Property Availability Widget

I need assistance with creating a website for a homeowner who wants to rent out their property. The client requires a feature that allows them to log in and easily mark individual days as available or unavailable for rental by choosing specific colors for ...

The CSS for the page is failing to load due to a basic HTML and JavaScript file

I'm embarking on a journey to learn HTML, CSS, and JavaScript by creating a basic webpage. Despite linking my CSS file in the HTML document, I am facing an issue where none of the styles are being applied. I am currently running this project locally ...

With FlexLayout, the content compresses rather than shrinking and taking up the entire width

When utilizing Angular and the flex Layout to develop a dashboard, I am encountering an issue where the items do not shrink as expected when opening the navigation. This results in the last item being pushed to the next line. Below is the HTML for the pare ...

How to activate a media query in response to user interaction using JavaScript

My responsive web page has various designs for different screen sizes, implemented using @media queries. I am interested in allowing users to manually adjust the design for smaller or larger screens without actually changing the screen size. Is there a wa ...

My presentations are not functioning as expected, could there be a problem with my HTML, CSS, or JavaScript coding?

My website utilizes a Slideshow feature to display images for blog posts. Recently, I attempted to include multiple slideshows within an article, which unfortunately caused all of the slideshows to malfunction. As it stands now, when the code is executed, ...

Expanding the rowspan within a table column has the effect of reducing its overall width

I have created a table with two rows, where the first row has three columns and the second row has two columns. The middle column in the first row has been set to rowspan="2". However, the issue is that it appears smaller than its intended width. .kolon ...

Ways to align two columns at the center using CSS

I'm currently facing some challenges centering two columns on my website. Despite my efforts to make adjustments, the result always ends up with the columns positioned to the left (you can view the image). Could you please help me identify what I migh ...

Focus on styling a single theader element within a jQuery Data Table with CSS

Struggling to work with a dynamic Jquery Data Table that has 10 table headers. I am having difficulty adding a class or an Id in the code to the specific th element with the title 'Unused'. In my .css file, I attempted: [title~= Unused] { ba ...

Issue with Jquery function not triggering due to HTML being injected after the initial load

Apologies for the unclear title. I am currently using a Twitter Bootstrap Modal to edit a record. <a class="contact" href="#" data-form="/edit/models/sms/{{ @value['fields']['id'] }}" title="Edit"> <span class="fa-stac ...