What is the method for altering the color of the left border on a tab menu?

Check out my website at

Hover over the 'URUNLER' section on my website to see the tabbed menus. I'm trying to figure out how to change the red color that appears when a tab is active to blue, but haven't been successful so far.

Answer №1

When styling your tabs, pay attention to this specific class that adds a red border:

.z-tabs.vertical.top-left.white.z-bordered > ul.z-tabs-nav.z-tabs-desktop > li.z-active > a.z-link {
border-left: 3px solid #365BD1;
}

If you need to locate where border-left: 3px solid #365BD1; is defined, simply search for it in zozo.tabs.min.css.

The main color scheme for the parent tabs is set as follows: #477390;

To switch the border color, update this code snippet: border-left: 3px solid #365BD1;

Change it to this new line: border-left: 3px solid #477390;

Answer №2

(For Internet Explorer users)

To inspect an element in IE, press F12 => Click on the element you want to inspect => Go to the active tab => Look for Traced Styles => Locate the border-left property

Upon inspection, it is revealed that the border-left style is defined in zozo.tabs.min.css within the following selector:

.z-bordered.white.top-left.vertical.z-tabs>ul.z-tabs-desktop.z-tabs-nav>li.z-active>a.z-link

Answer №3

When working with CSS in this particular section, the stylesheet can be found at:

Reference to line number 10:

.z-tabs.vertical.top-left.white.z-bordered > ul.z-tabs-nav.z-tabs-desktop > li.z-active > a.z-link {
  border-left: 3px solid #477390;
}

Please make necessary adjustments to this code as needed.

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

Incorporate a background image into input fields with Autofill on mobile browsers to override the default yellow background that obscures them

It is common knowledge that modern browsers apply a less than appealing yellow background to text fields when Autofill is used by visitors. A helpful workaround is known to override the default text and background colors, and even incorporate a background ...

NgFor is failing to display data from a fully populated array of objects

CLICK HERE FOR THE IMAGE So, let's tackle the issue at hand. I have an array that contains data fetched from an API. These data points are essentially messages. Now, below is the TypeScript file for a component where I aim to display all these messag ...

Animating the height of a div using jQuery after loading dynamic content

When I load a page using AJAX, the content is represented as a string. I am then trying to animate the height of a container if the content is larger than the current height of the container. However, for some reason, the variable _height always ends up ...

Guide on implementing event listener for right click using pure JavaScript (VANILLA JS)

I need the div to appear wherever the cursor is holding down the right mouse button. In my scenario, I am using the following code: <div class="d-none" id="item"></div> #item{ position: absolute; top: 0; left: 0; w ...

Achieving inline navigation with hover effects

Could someone help me with creating a HTML Navbar that displays inline and has a hover effect? This is the HTML code I have been working on: <nav class="navbar navbar-light bg-faded" style="background-color: #c8c8c8"> <div class="container-flu ...

Tips for displaying a refresh indicator while making an ajax call for refreshing data:

I have successfully implemented jQuery code that refreshes a specific div every 10 seconds without reloading the entire page. However, during this refresh process, the user does not visually perceive any changes happening in the browser. While there are n ...

Cancel a batch upload request using AJAX

Currently, I am working on implementing a feature for aborting a multiple file upload process while also displaying the progress of the upload with a progress bar. My objective is to ensure that when the user clicks on the abort button, not only does the ...

Is it Possible to Customize the Appearance of a Broken Link Using CSS?

Can you change the color of broken links on your site to distinguish them from working ones? For example, making working links blue and broken links red. If CSS is not an option, is it possible to use JavaScript to detect broken links and style them diffe ...

The Ajax request is only sending the ID of the initial element

I'm having an issue with dynamic links that all use the same < a > tag. When I click on these links, my AJAX call loads the content correctly, but the new div only shows the id of the first link when other links are clicked. To see the id in the ...

What is the best method for choosing the parent elements?

I am attempting to create a sidebar that saves the last clicked link in local storage and still displays the collapsed links after the page is reloaded. $(".clickedLink").parent().parent().css('background-color', 'green'); Ca ...

The Angular (keyup) event is failing to detect the # symbol exclusively

When trying to incorporate a search bar using the Angular (keyup) event, I encountered file names like: base @, base $, base 1, base #, base 2, Searching for "base @" or "base $" or "base 1" in the search bar works fine. However, when searching for "bas ...

Retrieve the browser version of a client using C# (When Internet Explorer Compatibility mode is activated)

Is there a way to retrieve the actual version of the client's browser from C# code? Using Request.Browser or HTTP_USER_AGENT provides details, but in Internet Explorer (IE), when compatibility mode is enabled, it always returns IE 7 regardless of the ...

Use CSS to position the SVG element to the bottom right corner of the screen

I have a <div> on the page with the CSS class .svgImage applied to it. Whenever I resize the browser window, the svg image resizes correctly but keeps shifting its position on the page. When I make the browser window vertically smaller, the svg imag ...

Struggles with toggling a sliding menu using JQuery

As I work on constructing a menu, I've implemented submenus that slide down upon hovering over the parent item and remain expanded when clicking on an arrow next to the parent. While the hovering functionality is working correctly, I'm encounteri ...

The vertical stacking of Bootstrap 4 columns is causing them to appear in a column instead

I have set up a Bootstrap container with a row containing two columns. The column on the right is supposed to hold an image and disappear on screens smaller than medium size. It should occupy 7 grid columns on medium screens and above. The left column sho ...

Side panel with collapsible Bootstrap functionality

The accordion panel is structured as follows <p> <a class="btn btn-primary" data-toggle="collapse" href="#collapseExample" role="button" aria-expanded="false" aria-controls="collapseExample"> Link with href </a> </p> <di ...

Showcasing a dynamic image as a task is being completed within a JavaScript function

Is there a way to show a loading image while waiting for a JavaScript function to finish? <script type="text/javascript"> function create() { //Perform operation } </script> I am looking for a solution to display a loading image until ...

Event listener is failing to execute the functions

Even though the inline onmouseover="verdadero()" function is properly set up Upon further inspection, it appears that while the event listener is added to the box element, the function is not being triggered when hovering over it, and console.lo ...

Text enclosed within a two-column div displayed in a single line

When working with a two column layout using divs instead of a table, I encountered an issue with displaying the content properly when the text in the first column is too long. For instance, I want 'Spoken' to be inline with 'English', b ...

Hide the 'white' color on visited links and category tags in the WordPress blog page

I created a custom WordPress theme, and I am having trouble styling the bootstrap navigation. I want the text to be white and change to brown when selected. However, my attempts to add a separate class for H1 tags on the blog post page have not been succes ...