IMPORTANT

FM Design will be closing soon, please click here for more information.

Latest topics
» Forum Closure
by brandon_g Yesterday at 17:00

» [GAME] Countdown from 200,000
by SLGray Sat 09 Dec 2017, 17:49

» [GAME] Count to One Million!
by SLGray Sat 09 Dec 2017, 17:49

» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51

» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11

» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19

» Asking about some plugin for Forumotion
by SarkZKalie Wed 06 Dec 2017, 09:14

» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34

» Numbering of messages in the topic
by SLGray Mon 04 Dec 2017, 22:40

» Support Forums and Social Networks
by SLGray Mon 04 Dec 2017, 22:38

» Browsers & Updates
by Wolfuryo Mon 04 Dec 2017, 15:20

» Logo/Favicon
by Mr_Grande Mon 04 Dec 2017, 09:55

» Broadcasting Duo
by brandon_g Sun 03 Dec 2017, 11:01

» IconSkouliki Graphics
by skouliki Thu 30 Nov 2017, 07:59

» [HELP] About Profile Cover Code
by omarpop23 Thu 30 Nov 2017, 04:17

Recent Tutorials
Who is online?
In total there are 11 users online :: 0 Registered, 0 Hidden and 11 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17

how can i show someting only in mobile

View previous topic View next topic Go down

avatar
sohab

Title :
Gender : Unspecified
Posts : 140
Points : 724
Reputation : 2
Language : frensh
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.saudijobstoday.net/

Postsohab on Sat 06 Aug 2016, 19:34

how can i show something in the header only in mobile and tabltes devices ?
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 22
Posts : 4715
Points : 9615
Reputation : 2344
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Sat 06 Aug 2016, 19:48

Hi @sohab,

It depends on the type of content you want to show. What is it that you'd like to only appear on mobile ?
avatar
sohab

Title :
Gender : Unspecified
Posts : 140
Points : 724
Reputation : 2
Language : frensh
Browser : Browser : Mozilla Firefox Forum Version : Forum Version : phpBB2
Awards :
View all awards
View user profile http://www.saudijobstoday.net/

Postsohab on Sat 06 Aug 2016, 19:53

some banner or mobile cpa offfer !
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 22
Posts : 4715
Points : 9615
Reputation : 2344
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Sat 06 Aug 2016, 20:05

You can try injecting the content via JavaScript.
Admin Panel > Modules > JS codes management > New script

Placement : In all the pages
Code:
$(function() {
  if (_userdata.page_desktop) {
    $('#logo-desc').append('MOBILE_CONTENT');
  }
});

Replace MOBILE_CONTENT with the content you want shown in the header.

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum