gpt4 book ai didi

html - 在站点标题中的 3 个图标后显示文本

转载 作者:可可西里 更新时间:2023-11-01 13:26:20 26 4
gpt4 key购买 nike

我们正在使用 <p class="a123">a</p> 显示文本“a”像这里一样在网站的左上角

但我想将文本“a”移动到右上角的 3 个图标旁边。

enter image description here

我们正在使用以下代码

<div id="header">

<header id="header" class="page-header">

<div class="page-header-container">
<!-- logo -->
<a class="logo" href="<?php echo $this->getUrl('') ?>">
<img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" class="large" />
<img src="<?php echo $this->getLogoSrcSmall() ?>" alt="<?php echo $this->getLogoAlt() ?>" class="small" />
</a>

<!-- logo end-->

<!-- search bar image -->

<div id='hideshow'>
<img src="<?php echo $this->getSkinUrl('images/search_16.png');?>" alt="Search">
</div>

<!-- search bar image -->

<?php // In order for the language switcher to display next to logo on smaller viewports, it will be moved here.
// See app.js for details ?>
<div class="store-language-container"></div>

<div class="skip-links">

<div class="account-cart-wrapper">

<!-- account man image -->
<a href="<?php echo $this->helper('customer')->getAccountUrl(); ?>" data-target-element="#header-account" class="skip-link skip-account">
<span class="icon"></span>
</a>

<!-- account man image end -->

<!-- Cart icon start-->

<div class="header-minicart">
<?php echo $this->getChildHtml('minicart_head'); ?>

</div>
<!-- Cart icon end-->
</div>


<?php

// echo $this->getLayout()->createBlock('page/switch')->setTemplate('page/switch/languages.phtml')->tohtml();

?>

<p class="a123">a</p>

</div>
<!-- Menu -->

<div id="header-nav" class="skip-content">
<?php echo $this->getChildHtml('topMenu') ?>
</div>

<!-- Menu end-->

<!-- Search -->

<div id="header-search" class="skip-content desktop-only">
<?php echo $this->getChildHtml('topSearch') ?>
</div>

<!-- Search end -->

<!-- Account -->

<div id="header-account" class="skip-content">
<?php echo $this->getChildHtml('topLinks') ?>
</div>
<!-- Account end-->

</div>

<!--<div id="header-search" class="desktop-only">
<?php echo $this->getChildHtml('topSearch') ?>
</div>-->
</header>

<?php

// echo $this->getChildHtml('topContainer');
?>
</div>

请帮我找到解决办法

提前致谢

最佳答案

.a123 {
position: absolute;
right: 0px;
top: 10px;
z-index: 999;
font-size: 30px;
}

希望对您有所帮助。 Screenshot

关于html - 在站点标题中的 3 个图标后显示文本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37610752/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com