By LAC Webadmin on Friday, 05 May 2017
Posted in Technical Issues
Replies 3
Likes 0
Views 242
Votes 0
Hi There,

In ES Theme, is there a method to check if a module is set to render in a particular position within the theme?

Reason I asked is because I'd like to create a custom position inside the theme but would like to enclosed the module in a container with class so I can style it but I don't want to render the container when there's no module assigned to it.

Thanks,

Jackson
You can use this method to check whether that is view from mobile device.


ES::responsive()->isMobile();
·
Friday, 05 May 2017 10:22
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

I think you are talking about different thing. But I check the theme code seems like there's none.

Thanks anyways.

Jackson
·
Tuesday, 09 May 2017 00:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Ops, I think i answered wrong thread in my previous reply.

Yes, currently we do not have a method to check for this.
·
Tuesday, 09 May 2017 14:11
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post