FM Design
Would you like to react to this message? Create an account in a few clicks or log in to continue.

IMPORTANT

FM Design is in read-only mode, please click here for more information.

Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49

» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21

» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28

» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15

» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11

» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24

» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58

» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50

» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22

» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12

» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10

» [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

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

Recent Tutorials
Top posting users this month

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

None

[ View the whole list ]


Most users ever online was 515 on Tue 14 Sep 2021, 15:24

#wrap in FAE

View previous topic View next topic Go down

Bigtuber
Bigtuber

Gender : Male
Posts : 125
Points : 3203
Reputation : 52
Location : Germany
Language : German, English
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge

PostBigtuber 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
Ace 1
Ace 1
Valued Member
Gender : Unspecified
Age : 24
Posts : 2153
Points : 5311
Reputation : 95
Location : USA
Language : English ?
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
https://fmdesign.forumotion.com/u190

PostAce 1 Wed 01 Feb 2017, 10:16

Try replacing
Code:
#wrap
with
Code:
#fa_edge
Bigtuber
Bigtuber

Gender : Male
Posts : 125
Points : 3203
Reputation : 52
Location : Germany
Language : German, English
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge

PostBigtuber Wed 01 Feb 2017, 10:56

Hey,

that helped me! Thank you very much, this is solved. Smile
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12035
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur 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.
Bigtuber
Bigtuber

Gender : Male
Posts : 125
Points : 3203
Reputation : 52
Location : Germany
Language : German, English
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge

PostBigtuber Wed 01 Feb 2017, 11:53

Thanks for the explanation, now it makes sense! Good
Sponsored content

PostSponsored content

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