-
Anonymous
Site URL: https://wp-blog.co.kr/main/
Hi, I have created an element and I have set element type is equal “Site Footer”. But it generates “div” tag instead of “footer” tag.
<div class=”site-footer”>
…
</div>
Can anyone tell me how can I generate “footer” tag?
Thanks. -
Alvind
Hi there,
Edit the Footer Element, select the outer container, and you should be able to change its tag to
<footer>
under Advanced > Tag Name settings in the Block settings sidebar. -
Anonymous
If I follow you, it adds the footer tag inside “.site-footer” class. But I want
<footer class="site-footer">
<div class=”site-footer”>
<footer class=”gb-container gb-container-73cd57e1″>
…
</footer>
</div>I need semantic layout.
e.g.
<header class=”site-header”></header>
<main></main>
<footer class=”site-footer”></footer> -
I see. It looks like there’s no way to achieve that at the moment, as the div with the site-footer class is needed to serve multiple purposes for features utilized by the theme.
- You must be logged in to reply to this topic.