lucaboccianti on "[Theme: Meris] anchors to be used in menu for one page scroll of sections"

ساخت وبلاگ

lucaboccianti
Member
Posted 4 hours ago #

hello,

I really appreciate the custom widget areas arrangement and the possibility to split them in columns to obtain custom sections in the one-page homepage.

my question is: what #anchors are to be used in the menu to scroll to the various sections of the one-page homepage?

usually the anchors are the sections ids, but in the html markup I can only see sections classes.

thanks.

lucaboccianti
Member
Posted 5 minutes ago #

ok, I've found a possible workaround, but I don't know if this is the intended way to go.

when one add home page sections (i.e. widget areas) in the theme specific settings, the section title are marked with a specific id, for instance meris_home_title-2:

<div class="widget home_widget_title" id="meris_home_title-2"> <div class="title-wrapper"> <h2 class="module-title">My First Section Title</h2> <p class="module-description">My First Section Subtitle</p> ...

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 186 تاريخ : سه شنبه 4 خرداد 1395 ساعت: 20:36