-
AuthorPosts
-
July 16, 2015 at 3:58 pm #332489
There are ids assign by xtheme for sections, such as #x-section-12, #x-section-1, how can I give a unique id for my section since we may need to move the order around different sections?
Thanks,
AnnieJuly 16, 2015 at 5:56 pm #332582Hello Annie,
Section id was automatically generated and it’s already unique. First section would always be #x-section-1 then next would be #x-section-2 and so on. Although, if you want to assign your own, you can set it on the ROW element. When you click SECTION > ROW > Inspect element and you can see the option to assign ID.
Hope this helps.
July 29, 2015 at 4:39 pm #344569Thanks for the reply, sometimes we need to move the section up or down and the unique id assigned by xtheme changes.
For example, we have 10 sections in one page and we have some custom css for #x-section-1 then we move it to the last section of the whole page so now the id is #x-section-10. So, we need to change all the custom css from #x-section-1 to #x-section-10 and it’s not efficient.
Do you have a better way to accomplish this?
Thanks,
An-NiJuly 29, 2015 at 8:45 pm #344740July 30, 2015 at 10:13 am #345360Thank you so much, it really helps, can’t find it before the screenshot : )
July 30, 2015 at 1:43 pm #345533You’re welcome! 🙂
-
AuthorPosts