2016-03-24 15 views
0

説明を表示するために+ボタンをクリックする必要がないように、説明+ボタンをデフォルトに設定しようとしています。デフォルトで開いていて閉じられることができます。ここには現在のコードがあり、デフォルトで開くように操作できませんでした。Weeblyの+ボタンをデフォルトで開く方法

/*短い説明*/

#wsite-com-product-short-description { 
margin: 30px auto 0; 
padding-top: 30px; 
border-top: 1px solid #dddddd; 
max-height: 20px; 
overflow: hidden; 
-webkit-transition: max-height .65s ease-in-out; 
-moz-transition: max-height .65s ease-in-out; 
-o-transition: max-height .65s ease-in-out; 
-ms-transition: max-height .65s ease-in-out; 
transition: max-height .65s ease-in-out; 
} 

#wsite-com-product-short-description:before { 
content: 'DESCRIPTION +'; 
display: block; 
font-family: "Montserrat"; 
font-size: .85em; 
margin-bottom: 10px; 
} 

#wsite-com-product-short-description.open { 
max-height: 800px; 
} 

#wsite-com-product-short-description.open:before { 
content: 'DESCRIPTION -'; 
} 
+0

サイトへのリンクを提供できますか? – Miro

+0

確かに、リンクはhttp://www.simplysheetsmonograms.com/store/p2/Mint_Chevron_Cosmetic_Bag.htmlです。 –

答えて

0

カスタムCSSでfollowinを含めます。

#wsite-com-product-short-description { 
    max-height: 800px !important; 
} 

説明を最小限の高さに設定することで、説明が拡張されます。

関連する問題