2015-03-31 38 views
0

请看看我的博客的这个移动视图:http://jieshangxiaochi.blogspot.com/?m=1博客移动显示GSC-清晰的按钮

有一个十字架(www.google.com/uds/css/clear.gif)出现只有当我启用了博客搜索小部件,但就是这样。没有搜索框,没有搜索按钮,什么都没有。

我试过的(并且不起作用): 1.将mobile ='yes'添加到搜索小部件中。 2.将mobile ='no'添加到搜索小部件。

我没有尝试在搜索小部件中添加mobile ='only',因为我希望它在桌面版上显示。

有没有人在这里有一个解决方案?

编辑: 这里的代码

<b:widget id='CustomSearch1' locked='false' mobile='no' title='sōusuǒ&lt;br&gt;搜索&lt;br&gt;search' type='CustomSearch'> 
<b:includable id='main'> 
<b:if cond='data:title != &quot;&quot;'> 
    <h2 class='title'><data:title/></h2> 
</b:if> 
<div class='widget-content'> 
    <div expr:id='data:widget.instanceId + &quot;_form&quot;'> 
    <span class='cse-status'><data:loadingMsg/></span> 
    </div> 
</div> 
<!-- override gsearch.css --> 
<style type='text/css'> 
    #uds-searchControl .gs-result .gs-title, 
    #uds-searchControl .gs-result .gs-title *, 
    #uds-searchControl .gsc-results .gsc-trailing-more-results, 
    #uds-searchControl .gsc-results .gsc-trailing-more-results * { 
    color:<data:linkColor/>; 
    } 
    #uds-searchControl .gs-result .gs-title a:visited, 
    #uds-searchControl .gs-result .gs-title a:visited * { 
    color:<data:visitedLinkColor/>; 
    } 
    #uds-searchControl .gs-relativePublishedDate, 
    #uds-searchControl .gs-publishedDate { 
    color: <data:dateColor/>; 
    } 
    #uds-searchControl .gs-result a.gs-visibleUrl, 
    #uds-searchControl .gs-result .gs-visibleUrl { 
    color: <data:urlColor/>; 
    } 
    #uds-searchControl .gsc-results { 
    border-color: <data:borderColor/>; 
    background-color: <data:backgroundColor/>; 
    } 
    #uds-searchControl .gsc-tabhActive { 
    border-color: <data:borderColor/>; 
    border-top-color: <data:activeBorderColor/>; 
    background-color: <data:backgroundColor/>; 
    color: <data:textColor/>; 
    } 
    #uds-searchControl .gsc-tabhInactive { 
    border-color: <data:borderColor/>; 
    background-color: transparent; 
    color: <data:linkColor/>; 
    } 
    #uds-searchClearResults { 
    border-color: <data:borderColor/>; 
    } 
    #uds-searchClearResults:hover { 
    border-color: <data:activeBorderColor/>; 
    } 
    #uds-searchControl .gsc-cursor-page { 
    color: <data:linkColor/>; 
    } 
    #uds-searchControl .gsc-cursor-current-page { 
    color: <data:textColor/>; 
    } 
</style> 
<b:include name='quickedit'/> 
</b:includable> 
</b:widget> 
+0

请出示相关的代码来提供上下文。 – clearlight 2015-03-31 01:37:25

+0

完成,请参阅上面的 – 2015-03-31 01:51:51

+0

FYI,这不是我的专业领域,我在[评论](http://stackoverflow.com/review)队列上进行“首次发布”质量检查服务(请参阅顶部的评论链接酒吧),并注意到这将有助于人们试图帮助你。另请参阅[如何提问](http://stackoverflow.com/help/how-to-ask) – clearlight 2015-03-31 01:59:23

回答

0

我现在有这个问题,我已经在小部件上里面的HTML编辑器加入“移动=‘是’”解决了,现在看起来像"id='CustomSearch1' locked='false' mobile='yes' title='Cerca nella trincea' type='CustomSearch' visible='true'"

BTW博客是https://labaionetta.blogspot.it

+0

我不明白该博客与这个问题的关系。 – 2016-07-08 18:26:33