How to remove “active” on product page tab after page loadHow to set title in customer navigation tab magento 2Review tab declaration in product page - magento 2.0.1Magento2 : Show category name on product detail pageMagento 2: How to edit existing product tabmagento2: how to set link to specific tab in product?Magento 2 Product tab linkMagento2: Product tabsMagento 2 Add Custom tab in Product PageHow to load simple product images on configurable product in magento 2?How to hide a specfic tab at product detail page on page load
Why force the nose of 737 Max down in the first place?
Why was Sauron preparing for war instead of trying to find the ring?
Old French song lyrics with the word "baiser."
To find islands of 1 and 0 in matrix
Defining a Function programmatically
Symplectisation as a functor between appropriate categories
How to check what is edible on an alien world?
Does academia have a lazy work culture?
Copying an existing HTML page and use it, is that against any copyright law?
How can I write an interdental lateral in phonetic transcription?
Are the named pipe created by `mknod` and the FIFO created by `mkfifo` equivalent?
Craving for food?
Sci fi story: Clever pigs that help a galaxy lawman
How to tar a list of directories only if they exist
Use cases for M-0 & C-0?
Did the IBM PC use the 8088's NMI line?
Can a table be formatted so that math mode is in some columns and text is in others by default?
The best place for swimming in Arctic Ocean
Why do planes need a roll motion?
How much were the LMs maneuvered to their landing points?
How to avoid theft of potentially patentable IP when trying to obtain a Ph.D?
Why did I lose on time with 3 pawns vs Knight. Shouldn't it be a draw?
Does the Intel 8086 CPU have user mode and kernel mode?
How to kill my goat in Goat Simulator
How to remove “active” on product page tab after page load
How to set title in customer navigation tab magento 2Review tab declaration in product page - magento 2.0.1Magento2 : Show category name on product detail pageMagento 2: How to edit existing product tabmagento2: how to set link to specific tab in product?Magento 2 Product tab linkMagento2: Product tabsMagento 2 Add Custom tab in Product PageHow to load simple product images on configurable product in magento 2?How to hide a specfic tab at product detail page on page load
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I would like to display only title in product information tab on product page after page load. When I click on title name , need to show their particular content.
magento2 product-tab
add a comment |
I would like to display only title in product information tab on product page after page load. When I click on title name , need to show their particular content.
magento2 product-tab
add a comment |
I would like to display only title in product information tab on product page after page load. When I click on title name , need to show their particular content.
magento2 product-tab
I would like to display only title in product information tab on product page after page load. When I click on title name , need to show their particular content.
magento2 product-tab
magento2 product-tab
edited Jul 18 at 6:45
Faisal Sheikh
30110 bronze badges
30110 bronze badges
asked Jul 18 at 6:29
mohanamohana
15816 bronze badges
15816 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
For the remove active
on product page tab after page load. You have to need update "openedState":"active"
to "openedState":"false"
in details.phtml
file.
File path:
magento/vendor/magento/module-catalog/view/frontend/templates/product/view/details.phtml
Override the details.phtml
file to your theme and update code.
Find:
<div class="product data items" data-mage-init='"tabs":"openedState":"active"'>
Update to:
<div class="product data items" data-mage-init='"tabs":"openedState":"false"'>
1
Thank you. It's working
– mohana
Jul 18 at 7:13
Hi, if we click the title "active" class not added
– mohana
Jul 18 at 8:11
Yes active class already removed, If you want active class then now you have to add via jquery based on onclick while click tab.
– Kirti Nariya
Jul 18 at 8:25
Yes i need to activate after click the title only, befor that only show title alone not a content
– mohana
Jul 18 at 8:45
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f282472%2fhow-to-remove-active-on-product-page-tab-after-page-load%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
For the remove active
on product page tab after page load. You have to need update "openedState":"active"
to "openedState":"false"
in details.phtml
file.
File path:
magento/vendor/magento/module-catalog/view/frontend/templates/product/view/details.phtml
Override the details.phtml
file to your theme and update code.
Find:
<div class="product data items" data-mage-init='"tabs":"openedState":"active"'>
Update to:
<div class="product data items" data-mage-init='"tabs":"openedState":"false"'>
1
Thank you. It's working
– mohana
Jul 18 at 7:13
Hi, if we click the title "active" class not added
– mohana
Jul 18 at 8:11
Yes active class already removed, If you want active class then now you have to add via jquery based on onclick while click tab.
– Kirti Nariya
Jul 18 at 8:25
Yes i need to activate after click the title only, befor that only show title alone not a content
– mohana
Jul 18 at 8:45
add a comment |
For the remove active
on product page tab after page load. You have to need update "openedState":"active"
to "openedState":"false"
in details.phtml
file.
File path:
magento/vendor/magento/module-catalog/view/frontend/templates/product/view/details.phtml
Override the details.phtml
file to your theme and update code.
Find:
<div class="product data items" data-mage-init='"tabs":"openedState":"active"'>
Update to:
<div class="product data items" data-mage-init='"tabs":"openedState":"false"'>
1
Thank you. It's working
– mohana
Jul 18 at 7:13
Hi, if we click the title "active" class not added
– mohana
Jul 18 at 8:11
Yes active class already removed, If you want active class then now you have to add via jquery based on onclick while click tab.
– Kirti Nariya
Jul 18 at 8:25
Yes i need to activate after click the title only, befor that only show title alone not a content
– mohana
Jul 18 at 8:45
add a comment |
For the remove active
on product page tab after page load. You have to need update "openedState":"active"
to "openedState":"false"
in details.phtml
file.
File path:
magento/vendor/magento/module-catalog/view/frontend/templates/product/view/details.phtml
Override the details.phtml
file to your theme and update code.
Find:
<div class="product data items" data-mage-init='"tabs":"openedState":"active"'>
Update to:
<div class="product data items" data-mage-init='"tabs":"openedState":"false"'>
For the remove active
on product page tab after page load. You have to need update "openedState":"active"
to "openedState":"false"
in details.phtml
file.
File path:
magento/vendor/magento/module-catalog/view/frontend/templates/product/view/details.phtml
Override the details.phtml
file to your theme and update code.
Find:
<div class="product data items" data-mage-init='"tabs":"openedState":"active"'>
Update to:
<div class="product data items" data-mage-init='"tabs":"openedState":"false"'>
answered Jul 18 at 7:06
Kirti NariyaKirti Nariya
1,7665 silver badges19 bronze badges
1,7665 silver badges19 bronze badges
1
Thank you. It's working
– mohana
Jul 18 at 7:13
Hi, if we click the title "active" class not added
– mohana
Jul 18 at 8:11
Yes active class already removed, If you want active class then now you have to add via jquery based on onclick while click tab.
– Kirti Nariya
Jul 18 at 8:25
Yes i need to activate after click the title only, befor that only show title alone not a content
– mohana
Jul 18 at 8:45
add a comment |
1
Thank you. It's working
– mohana
Jul 18 at 7:13
Hi, if we click the title "active" class not added
– mohana
Jul 18 at 8:11
Yes active class already removed, If you want active class then now you have to add via jquery based on onclick while click tab.
– Kirti Nariya
Jul 18 at 8:25
Yes i need to activate after click the title only, befor that only show title alone not a content
– mohana
Jul 18 at 8:45
1
1
Thank you. It's working
– mohana
Jul 18 at 7:13
Thank you. It's working
– mohana
Jul 18 at 7:13
Hi, if we click the title "active" class not added
– mohana
Jul 18 at 8:11
Hi, if we click the title "active" class not added
– mohana
Jul 18 at 8:11
Yes active class already removed, If you want active class then now you have to add via jquery based on onclick while click tab.
– Kirti Nariya
Jul 18 at 8:25
Yes active class already removed, If you want active class then now you have to add via jquery based on onclick while click tab.
– Kirti Nariya
Jul 18 at 8:25
Yes i need to activate after click the title only, befor that only show title alone not a content
– mohana
Jul 18 at 8:45
Yes i need to activate after click the title only, befor that only show title alone not a content
– mohana
Jul 18 at 8:45
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f282472%2fhow-to-remove-active-on-product-page-tab-after-page-load%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown