The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    Theme creations

    avatar
    stluee
    Forumember


    Posts : 47
    Reputation : 0
    Language : english

    In progress Theme creations

    Post by stluee September 5th 2014, 10:02 pm

    I have some great ideas for themes, that I would like to share. I am a pro boards refuge. I have themes that I made for them and want to convert over to the hitskins and ad to my theme selector. My problem is figuring where the codes go. There are many different selections under the general tab that I do not understand. I tried creating from the theme management. Once I place java and html in the css, nothing changes and then I have a code that I would like to place in the forum wrapper. I am really confused on creating themes. Can you tell?
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Theme creations

    Post by Ange Tuteur September 6th 2014, 12:23 am

    Hello stluee,

    JavaScript and HTML do not go within the CSS stylesheet, this will cause major errors in your style. I'll layout where what goes for you Smile

    JavaScript :
    Any and all JavaScript should be installed in JavaScript Management !
    ( Administration Panel > Modules > JavaScript Codes Management )

    You are of course not limited to installing scripts there. You can also add them in widgets or the templates by using an inline script tag. For example :
    ( This is considered HTML do not place it in JS management unless you remove the script tags )
    Code:
    <script type="text/javascript">// misc math
    a = 5;
    b = a * 3;
    alert( Math.round(b + a / 2) );</script>


    HTML :
    HTML can be placed in multiple areas of the forum. You can create HTML pages ( Modules > HTML pages management ), Modify the templates ( Display > Templates ), or create widgets ( Modules > Forum widgets management ).

    For simplicity, anything with greater than or less than characters is HTML. There is almost always an opening and closing tag.
    Code:
    <div align="center">
     Â <a href="/">Take me home</a>
    </div>


    CSS :
    CSS is for styling your HTML elements and should always be submitted in the stylesheet !
    ( Display > Colors > CSS stylesheet )

    The CSS stylesheet is only for CSS rules. A rule consists of a Selector and a Declaration surrounded by some curly braces. Example of a CSS rule :
    Code:
    /* Reference */
    Selectors {
    Declarations
    }

    /* Actual */
    .myClass {
     Â color:red;
     Â background:blue;
    }

    You can also place CSS stylesheets where HTML formats with an inline stylesheet :
    ( This should only go where HTML formats )
    Code:
    <style type="text/css">body {
     Â background:green; /* Lets color the background ! */
    }</style>


    If you have any questions let me know. Smile
    avatar
    stluee
    Forumember


    Posts : 47
    Reputation : 0
    Language : english

    In progress Re: Theme creations

    Post by stluee September 6th 2014, 2:16 am

    Do I still place the border around forum in css and the transparency at the bottom of that css sheet? Also I was trying t get into a new theme called Autumn and instead of being a seperate theme it was messing up the default theme.

    Confused Hello
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Theme creations

    Post by Ange Tuteur September 6th 2014, 2:30 am

    To add a border to the forum, you need to select an element. For example, this forum's version is phpbb3, to add a border to the forum body we'd write the following in the stylesheet :
    Code:
    #wrap { border:1px solid #f00 }

    Where you place your style rules matters; the sheet is read from top to bottom. Basically, the latter rules will have more influence over the rules before them, IF they style the same elements.


    Are you referring to the theme picker ? You must make sure disable_default_stylesheet is set to true otherwise you may have conflicts between the two themes.
    avatar
    stluee
    Forumember


    Posts : 47
    Reputation : 0
    Language : english

    In progress Re: Theme creations

    Post by stluee September 6th 2014, 10:06 pm

    Everytime I make a new theme, it messes the default theme up,as well as the ones in the theme picker.I removed the theme picker for now.May I show you the one I was wanting to recreate from my old server?
    Ramdaman
    Ramdaman
    Active Poster


    Male Posts : 1590
    Reputation : 99
    Language : English, Albanian, Macedonian, Russian | HTML, CSS
    Location : New York City

    In progress Re: Theme creations

    Post by Ramdaman September 6th 2014, 11:05 pm

    stluee wrote:Everytime I make a new theme, it messes the default theme up,as well as the ones in the theme picker.I removed the theme picker for now.May I show you the one I was wanting to recreate from my old server?

    Do you mean like,

    I create a new forum using phpBB3, then I see the phpbb3 theme, but decide to change it. When I go back I see all CSS/previous theme gone.

    Is that what you mean?
    avatar
    stluee
    Forumember


    Posts : 47
    Reputation : 0
    Language : english

    In progress Re: Theme creations

    Post by stluee September 7th 2014, 12:45 am

    When I make the new theme.The icons show on all the themes in the theme picker and default theme. Plus when I look at what was done to the new theme all that is there is the title and css.The default themes colors as well. Confused
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Theme creations

    Post by Ange Tuteur September 7th 2014, 3:31 am

    When you start modifying the theme of the forum, the old theme that is present will disappear, unless of course you have saved it or uploaded it to hitskin.

    The theme picker only changes the stylesheet, this means that no images in pics management are changed.
    avatar
    stluee
    Forumember


    Posts : 47
    Reputation : 0
    Language : english

    In progress Re: Theme creations

    Post by stluee September 7th 2014, 3:50 am

    Theme creations Captur10
    The transparent border I just am having no luck recreating. Crying or Very sad  I had made this one at another server.Oh and I cant for the life of me get that blue off my theme at the top.As well as the grey strip that is blank under topic and post.

    I used this code and placed at the bottom of the style sheet and nothing happened either.#wrap { border:1px solid #f00 }
    I do appreciate your help. Hello
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Theme creations

    Post by Ange Tuteur September 7th 2014, 4:20 am

    Please provide a link to your forum.

    Thanks.
    avatar
    stluee
    Forumember


    Posts : 47
    Reputation : 0
    Language : english

    In progress Re: Theme creations

    Post by stluee September 7th 2014, 4:45 am

    Ange Tuteur wrote:Please provide a link to your forum.

    Thanks.
    http://soapdreams.go-board.com/
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Theme creations

    Post by Ange Tuteur September 7th 2014, 4:54 am

    Your version is phpbb2, you will use the .bodyline classname to style the forum wrapper.

    Some CSS :
    Code:
    .bodyline {
     Â border:2px solid #CCC;
     Â background:rgba(255,200,150, 0.8);
    }

    rgba() adds transparency to a color, the last value being the amount of opacity. ( 0.8 )
    avatar
    stluee
    Forumember


    Posts : 47
    Reputation : 0
    Language : english

    In progress Re: Theme creations

    Post by stluee September 7th 2014, 10:55 pm

    Ange Tuteur wrote:Your version is phpbb2, you will use the .bodyline classname to style the forum wrapper.

    Some CSS :
    Code:
    .bodyline {
     Â border:2px solid #CCC;
     Â background:rgba(255,200,150, 0.8);
    }

    rgba() adds transparency to a color, the last value being the amount of opacity. ( 0.8 )
    That part worked! Now how do I get rid of that solid blue strip with the solid gray following.I feel I am making some headway thanks to you!
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Theme creations

    Post by Ange Tuteur September 8th 2014, 12:54 am

    Do you mean the row title background image ? Go to Administration Panel > Display > Pics management > Advanced > General / Explore

    Modify :

    • Background picture (Row title)
    • Background picture (Row category left)
    • Background picture (Row category right)

    By defining a new image to replace it.

    Theme creations Screen25
    avatar
    stluee
    Forumember


    Posts : 47
    Reputation : 0
    Language : english

    In progress Re: Theme creations

    Post by stluee September 11th 2014, 2:34 pm

    I messed my theme up . I placed this code in the css sheet at the bottom.I guess it was the wrong place?
    @empty: ~"";

    .rounded-corners(@a, @b, @c, @d) {
        border-radius: @arguments;
        -moz-border-radius: @arguments;
        -webkit-border-radius: @arguments;
    }

    .rounded-corners(@a, @b, @c) {
        border-radius: @arguments;
        -moz-border-radius: @arguments;
        -webkit-border-radius: @arguments;
    }

    .rounded-corners(@a, @b) {
        border-radius: @arguments;
        -moz-border-radius: @arguments;
        -webkit-border-radius: @arguments;
    }

    .rounded-corners(@a: 5px) {
        border-radius: @arguments;
        -moz-border-radius: @arguments;
        -webkit-border-radius: @arguments;
    }
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Theme creations

    Post by Ange Tuteur September 11th 2014, 2:38 pm

    That looks like a template your supposed to fill in, currently it modifies nothing. If you want to round the corners of an element you can use it's classname, id, or tagname. You can decide if you want to use the vendor prefixes(e.g. -webkit-, -moz-..) or not.

    Example :
    Code:
    table { border-radius:6px }

    ^^ This will round the corners of any table element.
    avatar
    stluee
    Forumember


    Posts : 47
    Reputation : 0
    Language : english

    In progress Re: Theme creations

    Post by stluee September 11th 2014, 2:56 pm

    Still in the style sheet? lol I dont want to mess them up again.Its too early for coding.
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Theme creations

    Post by Ange Tuteur September 11th 2014, 3:02 pm

    Yes, what I posted can go in the stylesheet if you want. It's an example rule to show how to round the corners of an element.
    avatar
    stluee
    Forumember


    Posts : 47
    Reputation : 0
    Language : english

    In progress Re: Theme creations

    Post by stluee September 13th 2014, 6:01 pm

    When I go to 20 the corners of the forum is still pointed at the top part of the border. Making it look kinda of odd.Also the peachy background color is trimmed in light blue which I would like rounded to make it look right.  Im sorry to be a pain.
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13207
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    In progress Re: Theme creations

    Post by Ange Tuteur September 13th 2014, 6:33 pm

    That would be from the inner cells (<td>) of the table. Try replacing your rule with this :
    Code:
    table, table td { border-radius:20px; }

      Current date/time is September 23rd 2024, 7:30 am