# Looking for anchors of sections on Frontpage

**URL:** <https://colorlibsupport.com/t/looking-for-anchors-of-sections-on-frontpage/23678>\
**Category:** Portum\
**Created:** [March 22, 2019, 1:44pm UTC](https://colorlibsupport.com/t/looking-for-anchors-of-sections-on-frontpage/23678 "2019-03-22T13:44:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![swisselle](https://colorlibsupport.com/user_avatar/colorlibsupport.com/swisselle/32/905_2.png) [@swisselle](https://colorlibsupport.com/u/swisselle)\
**Post date:** [March 22, 2019, 1:44pm UTC](https://colorlibsupport.com/t/looking-for-anchors-of-sections-on-frontpage/23678/1 "2019-03-22T13:44:58Z")

</div>

I have several obstacles with “Portum”, that I try to solve. My site looks a mess right now, so pls ignore the design at this point 🙂

Here’s my issue I hope I get a solution for:  
I tried to set a link from a page to a section of the frontpage. I looked into the source-code to find the ID to build a link like [https://mydomain.com/#anchor](https://mydomain.com/#anchor).

Here’s a code snippet:  
`<section data-customizer-section-id=“portum_repeatable_section” data-section=“6” data-customizer-section-string-id=“contact”>`  
I tried it with [https://the-cats-pyjamas.ch/#contact](https://the-cats-pyjamas.ch/#contact), but with this the button did not work/react

I found another code beneith the one above:  
`<div id="contact-754494" class="section-contact section ewf-section ewf-section-visible ewf-text-align–left ewf-section–title-left">`

I tried it then with [Willkommen - The Cat's Pyjamas](https://the-cats-pyjamas.ch/#contact-754494), but this opened the frontpage (on top, not at the section “contact”).

Hope someone can help me with that, I’d love to add these anchors to the menu too.

---

<div class="post-metadata">

**Author:** ![mikesupport17](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/m/bc8723/32.png) [@mikesupport17](https://colorlibsupport.com/u/mikesupport17)\
**Post date:** [March 25, 2019, 11:45am UTC](https://colorlibsupport.com/t/looking-for-anchors-of-sections-on-frontpage/23678/2 "2019-03-25T11:45:03Z")

</div>

Hello,

I hope you are doing well today.

I just want to confirm, are you trying to change the anchor links on the page?

Best Regards,  
Support

---

<div class="post-metadata">

**Author:** ![swisselle](https://colorlibsupport.com/user_avatar/colorlibsupport.com/swisselle/32/905_2.png) [@swisselle](https://colorlibsupport.com/u/swisselle)\
**Post date:** [March 25, 2019, 12:27pm UTC](https://colorlibsupport.com/t/looking-for-anchors-of-sections-on-frontpage/23678/3 "2019-03-25T12:27:59Z")

</div>

Hi  
Change… where can I set them for “Contact Section” and “Blog Posts”? These seem to be the ONLY two sections where I cannot set a Section ID. That’s why I asked if I can find the section ID somewhere in the source code.  
Thnks, Michelle

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [March 26, 2019, 5:47am UTC](https://colorlibsupport.com/t/looking-for-anchors-of-sections-on-frontpage/23678/4 "2019-03-26T05:47:31Z")

</div>

Hello there

Sections are not using IDs they have unique HTML tag and you can’t change them or use anywhere, unfortunately this is how theme is coded and without major customization you cant change this rule

---

<div class="post-metadata">

**Author:** ![swisselle](https://colorlibsupport.com/user_avatar/colorlibsupport.com/swisselle/32/905_2.png) [@swisselle](https://colorlibsupport.com/u/swisselle)\
**Post date:** [March 26, 2019, 6:25am UTC](https://colorlibsupport.com/t/looking-for-anchors-of-sections-on-frontpage/23678/5 "2019-03-26T06:25:46Z")

</div>

Interesting answer! The only section where no section ID can be set in the Customizer are Blog Posts and Contact. That‘s probably the reason, why a Github Issue for enhancement has been opened yesterday 😉

I mean… of all things that someone would want to link to (from a menu, within a post) are the contact sheet and the newest posts. Pretty weird, that these are the only sections I cannot do that and I‘m not putting up a second contact sheet.

But I am confident, that the enhancement of adding a field into the customizer for a section id to contact and blog too is being realized. Thanks again to Mihaela who was very helpful with all my questions!

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [March 26, 2019, 6:47am UTC](https://colorlibsupport.com/t/looking-for-anchors-of-sections-on-frontpage/23678/6 "2019-03-26T06:47:01Z")

</div>

😉 i guess we are talking about different ID’s, yes IDs can be set from the customizer but on the frontend, they do not default HTML tags, we use custom tags for ID’s and that’s what i meant if you use dev tools of browser you will see what i mean… perhaps this is lack of my attention, i should mention this in my previous reply 🙂  
lastly, is your question already addressed? 🙂

---

<div class="post-metadata">

**Author:** ![swisselle](https://colorlibsupport.com/user_avatar/colorlibsupport.com/swisselle/32/905_2.png) [@swisselle](https://colorlibsupport.com/u/swisselle)\
**Post date:** [March 26, 2019, 12:45pm UTC](https://colorlibsupport.com/t/looking-for-anchors-of-sections-on-frontpage/23678/7 "2019-03-26T12:45:21Z")

</div>

never mind… there ARE no section ID’s in the customizer for “Blog Posts” and “Contact” (see printscreens attached).

That’s why a Github issue has been opened ([https://github.com/MachoThemes/portum/issues/222](https://github.com/MachoThemes/portum/issues/222)) for an enhancement of the customizer of Potrum.

The issue has been solved at [Anchor of the sections on Frontpage? | WordPress.org](https://wordpress.org/support/topic/anchor-of-the-sections-on-frontpage/)

---

<div class="post-metadata">

**Author:** ![colorlibsupport](https://colorlibsupport.com/user_avatar/colorlibsupport.com/colorlibsupport/32/1494_2.png) [@colorlibsupport](https://colorlibsupport.com/u/colorlibsupport)\
**Post date:** [March 27, 2019, 5:22am UTC](https://colorlibsupport.com/t/looking-for-anchors-of-sections-on-frontpage/23678/8 "2019-03-27T05:22:58Z")

</div>

thank you for understanding and thank you for sharing solution 🙂
