Latest topics
» [HELP] About Profile Cover Code
by MaHwOs Yesterday at 18:54

» bloquer un membre
by berlingo Fri 17 Nov 2017, 18:19

» IconSkouliki Graphics
by skouliki Fri 17 Nov 2017, 03:54

» [IN PROGRESS] Can this code work on pun version
by skouliki Thu 16 Nov 2017, 03:50

» Auto-suggest @mentions as You Type
by skouliki Wed 15 Nov 2017, 14:56

» [TUTORIAL] [ALL VERSIONS] Warning before posting
by demon99 Wed 15 Nov 2017, 08:12

» About Add Reply & New Topic button (popup form)
by omarpop23 Mon 13 Nov 2017, 20:31

» Hello everyone this is Adam from France
by Adam Mon 13 Nov 2017, 13:32

» Add a login popup for the toolbar
by Ape Sun 12 Nov 2017, 18:41

» Post a message automatically when locking a topic
by ThunderTB Sun 12 Nov 2017, 13:51

» Control pannel issue
by Ange Tuteur Sun 12 Nov 2017, 09:49

» BUG... forum members birthday's
by Ape Sat 11 Nov 2017, 11:44

» Display a Preview of Groups on Hover
by ThunderTB Fri 10 Nov 2017, 21:56

» Search box only visible on hover
by Ange Tuteur Mon 06 Nov 2017, 09:57

» [GAME] Animal Game
by SLGray Sun 05 Nov 2017, 15:04

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

None

[ View the whole list ]


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

#wrap in FAE

View previous topic View next topic Go down

avatar
Bigtuber

Title :
Gender : Male
Posts : 124
Points : 858
Reputation : 50
Location : Germany
Language : German, English
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile

PostBigtuber on Wed 01 Feb 2017, 08:40

Hello,

I wonder why there is no code working for the id #wrap.

I'm using this code, which is working fine on a standard phpbb3 forumotion forum:
Code:
body {
  background-image: url('https://cdreplat-a.akamaihd.net/web-content/rg.com/images/content/wallpapers/kingsroad-knight-adamar-1920x1080.jpg');
  background-position: center center;
  background-size: auto;
  background-attachment: fixed;
}

#wrap::before {
    background: rgba(0, 0, 0, 0) url("https://i37.servimg.com/u/f37/19/26/29/54/main-w11.png") no-repeat scroll center center;
    color: #fbf3d4;
    content: "";
    display: inline-block;
    font-family: 'Bitter', serif;
    font-size: 18px;
    font-weight: 700;
    height: 47px;
    left: 50%;
    letter-spacing: 5px;
    line-height: 35px;
    margin-left: -490px;
    position: relative;
    text-align: center;
    top: -23.5px;
    width: 980px;
}
#wrap::after {
    background: rgba(0, 0, 0, 0) url("https://i37.servimg.com/u/f37/19/26/29/54/main-w11.png") no-repeat scroll center center;
    color: #fbf3d4;
    content: "©️ Copyright 2017 by Bigtuber";
    display: inline-block;
    font-family: 'Bitter', serif;
    font-size: 11px;
    height: 47px;
    left: 50%;
    line-height: 35px;
    margin-left: -490px;
    position: relative;
    text-align: center;
    top: 23.5px;
    width: 980px;
}
#wrap {
    background-image: url("https://i37.servimg.com/u/f37/19/26/29/54/schrif12.png");
    background-position: center center;
    background-repeat: repeat-y;
    margin-bottom: 10px;
    margin-top: 200px;
    padding: 0 100px;

}

So that's my background and the content of the forum (wrap) but this isn't working in FAE and when I'm looking into the CSS, @Ange Tuteur also doesn't use #wrap.
Since FAE is based on colours, #wrap doesn't work, or is it because the forum width feature on the FAE control panel? Think

Does anyone know how I can tell #wrap some commands? Smile


Last edited by Bigtuber on Wed 01 Feb 2017, 11:00; edited 1 time in total

--------

avatar
Ace 1
Valued Member
Title :

Beta Tester
Gender : Unspecified
Age : 18
Posts : 2151
Points : 2950
Reputation : 88
Location : USA
Language : English ?
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
Awards :
View all awards
View user profile http://fmdesign.forumotion.com/u190

PostAce 1 on Wed 01 Feb 2017, 10:16

Try replacing
Code:
#wrap
with
Code:
#fa_edge
avatar
Bigtuber

Title :
Gender : Male
Posts : 124
Points : 858
Reputation : 50
Location : Germany
Language : German, English
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile

PostBigtuber on Wed 01 Feb 2017, 10:56

Hey,

that helped me! Thank you very much, this is solved. Smile

--------

avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 22
Posts : 4712
Points : 9586
Reputation : 2341
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 Wed 01 Feb 2017, 11:04

Hey,

Even though this is solved, I'd like to add some additional information that should be helpful to anyone using Forumactif Edge.

FAE can be separated into three sections :

  1. #page-header ( for the header )
  2. #page-body ( for the page content )
  3. #page-footer ( for the footer )

Well, four, if you count #footer_end lol. Anyway, you can use #page-body as a substitute for #wrap on FAE, it essentially does the same thing ; wraps the forum content. #fa_edge is an id used for the <body> tag, you can take advantage of this id if you want to make changes specific to FAE, that don't effect the mobile version for example.

quick ex :
Code:
#fa_edge a {
  color:red;
}
Then again you can just use the unique selector in the mobile version to make mobile specific modifications. Razz #fa_edge can be considered more of an identifier for developers, so they can detect the forum version a client is using.
avatar
Bigtuber

Title :
Gender : Male
Posts : 124
Points : 858
Reputation : 50
Location : Germany
Language : German, English
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile

PostBigtuber on Wed 01 Feb 2017, 11:53

Thanks for the explanation, now it makes sense! Good

--------

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