如何将wordpress网站顶部的搜索栏变成图标?

问题描述 投票:0回答:1

我几周来一直在尝试弄清楚如何将搜索栏(在本例中为插件)变成网站顶部靠近标题的图标。

我已经尝试过编辑子主题的fuctions.php、父主题的header.php、css,以及你能想象到的所有内容,但它不起作用。

<?php
// Exit if accessed directly
if ( !defined( 'ABSPATH' ) ) exit;

<?php echo do_shortcode( '[[wpdreams_ajaxsearchlite]]' ); ?>
/**
 * After setup theme hook

 */
function blossom_chic_theme_setup(){
    /*
     * Make chile theme available for translation.
     * Translations can be filed in the /languages/ directory.
     */
    load_child_theme_textdomain( 'blossom-chic', get_stylesheet_directory() . '/languages' );

}

目标就是我试图在图片中展示的内容:

php css wordpress
1个回答
0
投票

如果您告诉我您正在使用的主题以及您作为插件的页面构建器,我将能够轻松地为您提供帮助。

如何在标题中添加图标? 这取决于您所使用的页面构建器。 如果您可以选择并且您的主题应该支持此页面构建器,请尝试使用 Elementor 页面构建器。主题如 ASTRA 和 The Elementor 主题。

其他 需要更多信息。

© www.soinside.com 2019 - 2024. All rights reserved.