Author Topic: help with a code  (Read 1134 times)

0 Members and 0 Guests are viewing this topic.

Offline shell

  • Full Member
  • ***
  • Posts: 136
  • Karma: 0
    • View Profile
help with a code
« on: May 13, 2013, 07:07:35 am »
someone very kindly made this for me but i cannot get to work,its is this file i think http://www.awesomestyles.com/phpbb3-styles/view/rainbow

 You will need to change the values to your preferences, with the !important; declaration added to them.
Example: First entry is
a:link, a:visited {
    color: #334466;
    text-decoration: none;
}
Change color to
a:link, a:visited {
    color: #334466;
    color: #F00 !important;
    text-decoration: none;
}

this is the code anyhelp with helping me have this style would be greatly appreciated
http://forum.userstyles.org/uploads/FileUpload/51/d5da5762031fae5c5e0f4c1dfe8b50.txt
it wont let me post the full code
« Last Edit: May 13, 2013, 07:16:01 am by shell »

Share on Facebook Share on Twitter


Offline shell

  • Full Member
  • ***
  • Posts: 136
  • Karma: 0
    • View Profile
Re: help with a code
« Reply #1 on: May 13, 2013, 09:16:59 am »
it seems only the text color changes

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
Re: help with a code
« Reply #2 on: May 14, 2013, 09:55:26 pm »
The code above only changes the color of links
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline shell

  • Full Member
  • ***
  • Posts: 136
  • Karma: 0
    • View Profile
Re: help with a code
« Reply #3 on: May 15, 2013, 06:46:47 am »
oh no,so its not not change the style then (sigh)
thanks anyway

Offline shell

  • Full Member
  • ***
  • Posts: 136
  • Karma: 0
    • View Profile
Re: help with a code
« Reply #4 on: May 15, 2013, 07:10:21 am »
is there any software that when i point to a section of the forum it shows me in the CSS code which part it is.
I dont know what changes what,i have looked at tutorials and they all assume you know basic HTML i dont.
I understand they are differant codes,but they can be merged or certain pieces of html can be used in a CSS style sheet
Could you also please explain in a phbb style file how do i find the CSS/HTML code,and is it possible to convert a HTML into A CSS
I have been given some custom buttons and told this could do it, i also have loads of firefox addons,for css,
but unless i know what i am changing i cannot use.
many thanks for your help


Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
Re: help with a code
« Reply #5 on: May 16, 2013, 02:21:13 am »
I meant the code in your post, the one in the link changes a lot more but needs to be modified in order to work correctly for CreateAForum. The Developer Tools in Chrome allows you to point and click on anything and it will show you the piece of CSS code that will select that element, no html knowledge is needed. Have you read all of the sticky topics in this board?
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline shell

  • Full Member
  • ***
  • Posts: 136
  • Karma: 0
    • View Profile
Re: help with a code
« Reply #6 on: May 16, 2013, 09:00:54 am »
hi
yes i have read them
the problem is i dont know how to start the document,what comes first which line changes what.
the stickys assume basic knowlegde of HTML and i have tried so hard to understand it,i have all kinds of stylesheet software etc but its no good unless i know what to put first on the stylesheet or knowing what changes what.i have firefox not chrome.
when i open create a stylesheet in crimson edotor ,what is the first thing i need to put,

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile
Re: help with a code
« Reply #7 on: May 17, 2013, 01:21:10 am »
It doesn't assume you know basic html at all and you don't need any stylesheet software or editor, they can written in plain notepad.
This is an example of how to change color of an element:
Code: [Select]
div.example {
    color: blue;
}
The div.example part selects which part of the page, known as the element, you want to change, the html equivalent coding for this is <div class="example">This color is blue</div>. The curly brackets, {}, tells you the start and end of the coding for the selected element and the color: blue; changes the font color to blue.
Let me know on any part you're stuck or confused on, the [Guide] Changing the color of board names topic clearly explains step by step what to do.
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

Offline shell

  • Full Member
  • ***
  • Posts: 136
  • Karma: 0
    • View Profile
Re: help with a code
« Reply #8 on: May 17, 2013, 06:34:37 am »
thank you for explaining
i am not just trying to change the font,i am trying to find the html/css stylesheet within a phbb3 file
to change the full theme not just the fonts,its the style and feel i would like to change


 

Related Topics

  Subject / Started by Replies Last post
12 Replies
3515 Views
Last post December 02, 2014, 06:57:57 pm
by CyanProductions
1 Replies
865 Views
Last post March 14, 2012, 04:53:55 pm
by aIURbliS
4 Replies
231 Views
Last post May 27, 2017, 07:25:09 pm
by Egbune
2 Replies
154 Views
Last post May 27, 2017, 09:49:34 pm
by Egbune
2 Replies
204 Views
Last post February 02, 2020, 03:34:38 pm
by mickjav