How to only show the active tab name in WooCommerce [closed] - php

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
My WooCommerce product pages displays each product tab seperately and underneath eachother, which is good. The only problem i'm facing is that each tab displays all the tab names. I'd like to only display the name belonging to the tab.
Example
So far, i looked into the tab templates, tried some function snippets. Nothing worked so far.

you can hide by css
.ec-tabs>li.active, .wc-tabs>li.active {
display: block;
}
.ec-tabs>li, .wc-tabs>li {
display: none;
}

Related

Hide banner in specific URL [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 days ago.
Improve this question
I have wordpress website , I put banner in the header of my site , this banner will show in all my site pages , I need PHP code to hide this banner in specific page and show another banner only in url that I want instead.
Can anyone help me to change this banner only in specific URL that I want ?
This is the banner enter image description here
Try using CSS and the body class of the page and display:none to hide one or another of the banners.
body.classforthatpage .yourbanner-class-or-id {display:none;}
Use Dev tools to find the body classes for the pages.

How to add ID to Wordpress plugin title? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I am using the Shapely theme to build a website, and this particular theme uses widgets to create the home page layout and content.
The site I'm working on is currently hosted here.
What I am trying to accomplish is adding an ID to the main title (BimFlooring) so I style it individually with CSS. I can modify it without issue, but down the page, there are elements with the same selector (.image-bg p).
How can I add an ID to just the title on the 1st widget so that the other titles further down are not affected?
*Edit: I should mention I have looked through the themes PHP files and for the widget itself and have not come across a place to modify what I'm looking for.
You can use it below selector for only first section css.
example
/* Below selector for p tag text */
shapely_home_parallax-1 .image-bg p { }
/* Below selector for h1 tag text */
shapely_home_parallax-1 .image-bg h1 { }

CSS disable horizontaly scrolling - Wordpress [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
Hi im working on a wordpress blog and have the following problem:
http://www.catlovers.co/17-cat-reactions-that-sum-up-your-love-life/
If i resize the browser (X-Axies) to a minimum like surfing on a mobile device i am able to scroll to the right in the Contend section (hold down middle mouse button).
How can i change my CSS to disable this kind of scrolling?
I think my problem has something to do with the "post-container" class. Is the "overflow:auto" a possible problem?
Try This: in your css
#media only screen and (max-width: 479px){
.post-container{overflow: hidden;}
}

How to remove HOME link from WP header? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I am desperately trying to remove the irritating HOME hyperlink from the header of my WP page. See here, in the upper left corner: http://almagest-centar.hr/?page_id=2 (this is Academica WPZOOM theme).
Is there any way to remove it? I've seen there has been a discussion about this (here), but it doesn't work. My functions.php doesn't contain the lines mentioned in the thread.
You are trying to remove breadcrumbs. Please delete from you view this code with all inside it:
<div id="crumbs">
</div>
Or you can also edit your CSS file:
div#crumbs {
display: none;
}

Very long horizontal scroll to the left in my page [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
In my Wordpress page, there is a scroll bar at the bottom, which takes the page to an empty region to the left. I tried to inspect the element causing this but I couldn't.
Why does this happen? And how can I investigate the cause of this?
Thank you.
I've noticed you have left: -999em and some other declarations that pull your items way to the left. Usually this is done so the items are hidden from the viewport, which is fine.
To fix this issue, simply add overflow: hidden to your body {} in your stylesheet file, for example:
body { overflow: hidden; }

Categories