magento Modern - 在 TAB 中显示属性
如果您转到此处:
http://pro-tools-training.com/new-magento/index.php/video-1/youtube.html
并单击“BUZZ/INFO”选项卡,您会看到以下文本:
BUZZ
为什么会出现属性名称以及为什么它会将我的文本撞到中心???
怎么修??我只想显示我在属性文本框中放置的任何内容,而不是名称,也不是居中对齐。
If you go here:
http://pro-tools-training.com/new-magento/index.php/video-1/youtube.html
and click "BUZZ/INFO" tab, you see the following text:
BUZZ
Why does the attribute name appear and why does it bump my text to the center????
How to fix?? I just want to show whatever I place in the attribute text box, not the name and not center justified.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用 Firebug 仔细检查该页面,您会发现在“
TABLE
”之一中“ HTML 标记(其“id
”值为“product-attribute-specs-table”),第一行包含如下所示的列:-现在是第二行列是您的文本,因此似乎第一列默认来自 Magento 的某个地方,或者已在不知不觉中插入到“
PHTML
”模板页面中。因此,您需要做的就是从正确的模板页面中删除上述列(如果您能够找到该模板页面),否则您将需要处理一些 CSS。如果您需要做一些 CSS 工作,那么代码将有点像下面这样:-
上面的代码对您有用,但是您需要将此 CSS 放入您正在使用的正确主题界面/名称文件夹中的 CSS 文件中。
希望有帮助。
If you check the page minutely using Firebug, you will find that in one of the "
TABLE
" HTML tag (whose "id
" value is "product-attribute-specs-table"), the first row contains a column which is given below:-Now the second column is your text, so it seems that the first column is either coming somewhere from Magento by default, or has been inserted in the "
PHTML
" template page unknowingly. So what you need to do is to remove the above-mentioned column from that proper template page (if you are able to find that one), or you will need to work on some CSS.If you need to do some CSS work, then the code will be somewhat like below:-
The above will work for you, but you need to put this CSS in a CSS file in the proper theme interface/name folder, which you are using.
Hope it helps.