Design Your Own CSS Theme

Posted by michal frackowiakmichal frackowiak on 1155986981|%e %b %Y|agohover, last edited by pieterhpieterh on 1249237628|%e %b %Y at %H:%M |agohover
Tags: color colour css customize layout themes

rating: +7+x

This document is a work-in-progress. Please contribute if you wish!

This is a howto that describes a way to create your own appearance for your site.

Introduction

A theme is a structured template, written in a markup language called Cascading Style Sheets (CSS), that controls the appearance and graphical layout of a page. The theme defines the font to be used, its size, the location of text, colors, and background images. However, themes are independent from the actual informational content of the page, so they make it possible to change the visual presentation without having to re-enter the actual text or other data.

Wikidot.com already offers a several basic CSS themes to choose from. But it is certainly never a bad idea to create your very own look for your site. The whole trick is to write new CSS code that is placed upon the existing themes so you do not have to write everything from scratch. E.g. to just change most of the colors you need to produce as much as 20 lines of code. And this HOWTO will tell you how.

There are collections of user-created CSS-themes on open wikis:

Before you start your own theme you should have a look about possible and existing layouts!

Basics

When creating a new theme you will have to extend already existing themes. Custom themes are created per site and are available only within a given site.

To create new themes you will certainly need some CSS and design skills. You can learn a lot at sites like the following:

w3schools - css
tutorial and reference documents.
Web 2.0 Design Guide - Why it works
"It seems that perfection is reached not when there is nothing left to add, but when there is nothing left to take away." - Antoine de Saint-Exupéry
Zen Garden - The Beauty of CSS Design
A demonstration of what can be accomplished visually through CSS-based design.
css/edge
A rejection of what's practical in favor of what's possible. complexspiral example
ColorBlender
makes it very quick and easy to create a color scheme for e.g. a website.

Step-by-Step Guide

Step 1: Manage the Site's Appearance

Go to the Site Manager (by default available at the page admin:manage). There should be a link on the side bar of your pages.

Click on Appearance » Custom Theme.

Of course you will need an administrator role within the Site.

Step 2: Create a Custom Theme

If you already have some custom themes defined you should see them listed. In order to create a new one:

  • click create a new theme
  • choose a name for the theme
  • choose a theme you want to extend…

You can basically extend any theme available. However if you want to start from a plain look as much as possible than you should choose Base theme. Every theme on Wikidot.com extends the Base theme. This theme contains basic layout for pages, dialogs, forum etc. We will come back to it later.

But if you just want to change e.g. colors in an already available theme, then choose this theme (e.g. change colors in the Cappuccino theme).

At the moment suppose you want to extend the Base theme.

Choose an editing method

The box with the title 'CSS code' shows the CSS in your custom theme. It begins blank (it doesn't display the CSS from the theme you are extending, only the additional CSS you build on top of this. The additional code will appear after the end of the original theme and override existing definitions).

There are 2 ways to manage your CSS code: put it directly into the box or (which we recommend) keep all the CSS code in a separate special page on your wiki, and use the 'import' button to import it to the box. This way you can easily keep revisions of your theme as you do with wiki pages. The CSS is extracted from the first [[code]] … [[/code]] block in the specified page. The process of taking code from the 'sync' page isn't an automatic one - so each time you change it you have to use the custom theme administration controls and click "import" and "save theme".

So we recommend here to open a new window in your browser and create a (empty) page called css:mytheme (or any other that suits you). Put this name in the theme form.

The “save theme” function will not export the code back in your CSS wiki-page but record the content of the box as a custom theme. If you use this method you must:

  1. Edit and save your custom CSS code in your css:mytheme wiki page ( this is not an active CSS but just text data)
  2. Create or select your custom theme from manage site / Appearance / custom themes
  3. "import" the CSS data from css:mytheme wiki page
  4. "Save theme" in order to save CSS data in the real custom theme.

Select navigation elements

Decide if you want to use side/top navigation (menu) elements. Select whether your theme will use it or not?

Save the theme

Even if you do not have CSS ready yet - you will write it later.

Step 3: Write CSS for the Theme

This is the most important step. To do this properly you will have to learn first how the theme you are about to extend is implemented.

For the Base theme look at the CSS file: http://www.wikidot.com/common--theme/base/css/style.css

As you can see this CSS imports a few other styles too:

http://www.wikidot.com/common--theme/base/css/odialog.css used for dialogs (window pop-ups)
http://www.wikidot.com/common--theme/base/css/forum.css basic forum look definitions
http://www.wikidot.com/common--theme/base/css/editor.css wiki editor
http://www.wikidot.com/common--theme/base/css/autocomplete.css used for autocomplete element - leave this alone
http://www.wikidot.com/common--theme/base/css/text_highlighter.css defines colors for code highlighting (within [[code]] … [[/code]] blocks)

If you aren't sure of the address of the CSS for the theme you are already using just check the source code on one or your pages (look for 'style type="text/css" id="internal-style")'.

Most probably you will only be interested in forum.css and odialog.css. But not too much anyway.

Structure of the page

Most likely you will need to know the DOM structure of the page i.e. what elements are there, what classes and ids etc. Each of the pages has more or less the same layout. You can learn this by:

  • looking at the HTML source code (in your browser) for a page
  • reading the Layout Reference document
  • using the Web Developer extension for Firefox and clicking Outline » Outline current element
  • exploring the DOM structure by using the DOM Inspector (Firefox has it) or equivalent tools

Learn by example

Let us see how the Flannel Ocean theme is defined - it directly extends the Base theme. The CSS is located here.

What the style actually does:

  • defines layout for header, footer, side bar and page content
  • defines font sizes and colors for elements such as headings, anchor links etc.
  • changes colors for the dialog windows
  • changes some colors for the forum

If you like the Flannel theme but you just want to change the colors you can simply extend this theme and redefine only the colors! The same for other themes of course. The easiest way in each case is just to copy&paste blocks of code from existing themes to your own theme.

Below is a list of selected themes and their styles

Flannel http://www.wikidot.com/common--theme/flannel/css/style.css
Flannel (no side bar) http://www.wikidot.com/common--theme/flannel-no-side-bar/css/style.css
Flannel Ocean http://www.wikidot.com/common--theme/flannel-ocean/css/style.css
Flannel Ocean (no side bar) http://www.wikidot.com/common--theme/flannel-ocean-no-side-bar/css/style.css
Flannel Nature http://www.wikidot.com/common--theme/flannel-nature/css/style.css
Flannel Nature (no side bar) http://www.wikidot.com/common--theme/flannel-nature-no-side-bar/css/style.css
Cappuccino http://www.wikidot.com/common--theme/cappuccino/css/style.css
Cappucino (side bar on right ) http://www.wikidot.com/common--theme/cappucino-right/css/style.css

Update theme

So let us assume you have embedded the CSS code within the page css:mytheme. Go to Site Manager » Appearance » Custom themes and open your new theme for editing. If you have the source page configured, just click import and see what happens.

Save theme of course.

Preview theme

To begin with a custom theme won't be assigned to any pages, so you won't immediately see the results of your work. You can preview the theme in 2 ways:

  • you can assign the theme to a particular page category by going to Site Manager » Appearance » Themes (as you would do for any other theme)
  • you can use ThemePreviewer module - just put it on your pages somewhere and it will allow you to preview available themes on your page.

Step 4: Test your Theme!

There are many browser quirks. What some browsers render properly others can not understand at all. Please test your theme with at least major browsers (Firefox, IE, Opera).

CSS Validator
Copy and paste your code into the Validator to check for errors.

Step 5: Assign Themes to Categories

When your theme is ready - go to Site Manager » Appearance » Themes and set the new theme for the page categories you want. And… that should be all!

General tips

  • do not use pixel units (px) for font size; wherever possible (font size, layout) use font-based units (em) or percentage (%)
  • keep your design clean and readable
  • test CSS with different browsers

Authors

michal frackowiakmichal frackowiak. Please visit his/her userPage.

Nice
ItaniKnightItaniKnight 1173131198|%e %b %Y, %H:%M %Z|agohover

Yeah, that was helpful to me. Now, at least, I know HOW to get the CSS code onto the wiki… Whether or not it looks any good is a different question… :)

Reply  |  Options
Unfold Nice by ItaniKnightItaniKnight, 1173131198|%e %b %Y, %H:%M %Z|agohover
a different question
GoonGoon 1173178417|%e %b %Y, %H:%M %Z|agohover

I added some links to the basics section. Maybe one can find the answer to this different question there. ;)

Reply  |  Options
Unfold a different question by GoonGoon, 1173178417|%e %b %Y, %H:%M %Z|agohover
Easy and intuitive...NOT
gentlygently 1180263646|%e %b %Y, %H:%M %Z|agohover

I spent hours looking for this info. Not a single tag mentioning color or how to tweak a theme! I better get studying CSS! Thanks for the free blog!

Reply  |  Options
Unfold Easy and intuitive...NOT by gentlygently, 1180263646|%e %b %Y, %H:%M %Z|agohover
Re: Easy and intuitive...NOT
leigerleiger 1189123777|%e %b %Y, %H:%M %Z|agohover

Just go to http://www.blogger.com/start and sign up for a blog there - they're a great blog provider. Using a wikidot site as a blog would end up being a hassle after a while .. lol

If anyone is interested in contributing to another site dedicated to CSS among other things, check out http://hard-drive.wikidot.com and apply for membership.

Cheers


— Shane | CycloDS Revolution | CycloDS Compatibility

Watch Avatar 3D. It is THE most spectacular film I've ever seen. It is really, genuinely EPIC.
No DVD or even the regular version of the same movie can match this in 3D on the big screen.

Reply  |  Options
Unfold Re: Easy and intuitive...NOT by leigerleiger, 1189123777|%e %b %Y, %H:%M %Z|agohover
Re: Easy and intuitive...NOT
Phil ChettPhil Chett 1190246137|%e %b %Y, %H:%M %Z|agohover

check out http://hard-drive.wikidot.com and apply for membership.

er…. how do i do that then?

Last edited on 1193212272|%e %b %Y, %H:%M %Z|agohover By Phil Chett + Show more
Unfold Re: Easy and intuitive...NOT by Phil ChettPhil Chett, 1190246137|%e %b %Y, %H:%M %Z|agohover
Re: Easy and intuitive...NOT
leigerleiger 1193270511|%e %b %Y, %H:%M %Z|agohover

er…. how do i do that then?

Yeah, it's been blocked from new membership by the other site admin I am working with. I'll see if I can fix that up now, or at least ASAP. Check back there in a few days.

Sorry about that…

EDIT: ok, ready for new members now :)


— Shane | CycloDS Revolution | CycloDS Compatibility

Watch Avatar 3D. It is THE most spectacular film I've ever seen. It is really, genuinely EPIC.
No DVD or even the regular version of the same movie can match this in 3D on the big screen.

Last edited on 1194952395|%e %b %Y, %H:%M %Z|agohover By leiger + Show more
Reply  |  Options
Unfold Re: Easy and intuitive...NOT by leigerleiger, 1193270511|%e %b %Y, %H:%M %Z|agohover
Re: Easy and intuitive...NOT
Sharona ZichermanSharona Zicherman 1262284985|%e %b %Y, %H:%M %Z|agohover

Yeah, me 2!!!!!
Thank you so much!

Reply  |  Options
Unfold Re: Easy and intuitive...NOT by Sharona ZichermanSharona Zicherman, 1262284985|%e %b %Y, %H:%M %Z|agohover
Logo
christmas4kidschristmas4kids 1199136289|%e %b %Y, %H:%M %Z|agohover

I'm trying to add a logo to my wiki. I would assume I should do that in the css and I have been messing around wiht it but I can't seem to figure it out. I've tried copying the code for the background image in the header and tried changing the coordinates but my image wont show up.

If anyone is interested in doing it for me :) I just want the image found below in the upper left hand corner of the default Flannel layout.

http://christmas4kids.wikidot.com/local--files/start/logo

Thanks much for any help.

Reply  |  Options
Unfold Logo by christmas4kidschristmas4kids, 1199136289|%e %b %Y, %H:%M %Z|agohover
Re: Logo
tehraptortehraptor 1203716254|%e %b %Y, %H:%M %Z|agohover

In the custom themes section of admin:manage, make a new theme that extends the flannel theme and put the following code:

#header{
    /*background: none;*/
    height: 9em;
    border-bottom: 3px solid #800202;
    background-image: url(http://christmas4kids.wikidot.com/local--files/start/logo);
    background-repeat: repeat-x;
    background-position: 0 2.1em; 
}

You will need to re-upload your image and make sure it ends in a valid for (ex: .jpg .gif .bmp) - This is your problem

-Tehraptor

Reply  |  Options
Unfold Re: Logo by tehraptortehraptor, 1203716254|%e %b %Y, %H:%M %Z|agohover
Re: Logo
Lt Commander ChrisLt Commander Chris 1205079824|%e %b %Y, %H:%M %Z|agohover

Changed the universal background colour (yes spelt it correctly in the css, US style) and made sure there were no conflicts but refuses to change from default used by co. Any particular reason?

Unfold Re: Logo by Lt Commander ChrisLt Commander Chris, 1205079824|%e %b %Y, %H:%M %Z|agohover
Re: Logo
SupermomSupermom 1209761171|%e %b %Y, %H:%M %Z|agohover

OK, this is basicac CHINESE! I don't get it, it is dificult to navigate.

I have a logo in my computer, how to I attach it next to the name of my wiki??????????

Unfold Re: Logo by SupermomSupermom, 1209761171|%e %b %Y, %H:%M %Z|agohover
no title in email
Steven HeynderickxSteven Heynderickx 1263164901|%e %b %Y, %H:%M %Z|agohover

This will do the trick

do the following:

  • Paste the following code in a simple word processor like notepad
[[include :css-competition:include:easylogo |
logo-image = YOUR-URL |
logo-width = 500px |
logo-height = 150px |
header-height = 200px |
]]
  • Replace in the following URL YOURSITE with the name of your site http://YOURSITE.wikidot.com/nav:side
  • Navigate to that link
  • Select "files" from the action-buttons at the bottom of the page
  • Upload (following the instructions) your logo.
  • If the instruction "refresh list" appears click on it
  • Now there is probably a list (One item) with "info|option" at the end
  • Click on info
  • Select from the popup-window the URL from the image, its under the picture on the second line and starts with "http://…"
  • Press ctrl-C to copy it
  • Close this window by pressing the close button
  • Go to the word processor and replace YOUR-URL with what you just copied
  • Now select the code from the word processor and press ctrl-C
  • Go to your browser and select "edit" from the action-buttons at the bottom of the page
  • go to the end of the code
  • Paste (ctrl-V) the the code
  • Save the page, press Ctrl-S or "save"

Maybe you need to adjust the width and height that are given by default.
Try it, if it does not work or stops working write me a message

Reply  |  Options
Unfold no title in email by Steven HeynderickxSteven Heynderickx, 1263164901|%e %b %Y, %H:%M %Z|agohover
Additional info
Robert WRobert W 1205416600|%e %b %Y, %H:%M %Z|agohover

Having struggled a lot to follow these instructions I thought a few extra pieces of information might help - so I've added them. That might be a bit presumptuous, but it's probably simpler than any other options. I won't be offended if someone edits/undoes my changes.

Reply  |  Options
Unfold Additional info by Robert WRobert W, 1205416600|%e %b %Y, %H:%M %Z|agohover
Re: Additional info
Helmuti_pdorfHelmuti_pdorf 1205418245|%e %b %Y, %H:%M %Z|agohover

Fine, it is clearer now.


Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.

Wollen Sie Wikidot helfen im deutschen » Wikidot Handbuch ?

Reply  |  Options
Unfold Re: Additional info by Helmuti_pdorfHelmuti_pdorf, 1205418245|%e %b %Y, %H:%M %Z|agohover
Definition of theme and CSS
Jack ButtonJack Button 1206289845|%e %b %Y, %H:%M %Z|agohover

"Theme" didn't t mean anything to me for a while and neither did CCS ( Cascading Style notes)

It might be good to start this page with something like this.(It may be off base — I am new.).)

A theme is a structured template that provides specific directions that control the appearance of pages. When complete, the template establishes the fount to be used, its size, the location of text, any back ground color, specific images to be used and their location. (and other things that I don't know.)

The theme starts with a basic template and modifies and adds to it, using a markup language called Cascading Style Notes (CSS)

Am I in the ball park? If yes, please modify it and place it at the top of the page.

Regards, Jack

Reply  |  Options
Unfold Definition of theme and CSS by Jack ButtonJack Button, 1206289845|%e %b %Y, %H:%M %Z|agohover
Importing CSS themes?
sithkhansithkhan 1206353261|%e %b %Y, %H:%M %Z|agohover

Can we import CSS from other places, or must we use wikidot specific theme modification only? Thanks!

Reply  |  Options
Unfold Importing CSS themes? by sithkhansithkhan, 1206353261|%e %b %Y, %H:%M %Z|agohover
Re: Importing CSS themes?
GabrysGabrys 1211780038|%e %b %Y, %H:%M %Z|agohover

You can import any CSS using

@import url(http://some.place.com/style/some-stylesheet.css);

in your CSS.

But remember that any import must go before the rest of the content.


Piotr Gabryjeluk
visit my blog

Last edited on 1211780098|%e %b %Y, %H:%M %Z|agohover By Gabrys + Show more
Reply  |  Options
Unfold Re: Importing CSS themes? by GabrysGabrys, 1211780038|%e %b %Y, %H:%M %Z|agohover
Text Colour?
CTexTCTexT 1213946449|%e %b %Y, %H:%M %Z|agohover

I don't know anything about CSS, but I managed to change the most colours in the Cappucino theme. But can any one please tell me how I can change the colour of the text on the pages???
Please! I need your help!

Reply  |  Options
Unfold Text Colour? by CTexTCTexT, 1213946449|%e %b %Y, %H:%M %Z|agohover
Re: Text Colour?
Helmuti_pdorfHelmuti_pdorf 1213948705|%e %b %Y, %H:%M %Z|agohover

Have a look on the howto:
Basics contains some important links for the syntax of CSS:

http://community.wikidot.com/howto:design-your-own-css-theme


Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.

Wollen Sie Wikidot helfen im deutschen » Wikidot Handbuch ?

Reply  |  Options
Unfold Re: Text Colour? by Helmuti_pdorfHelmuti_pdorf, 1213948705|%e %b %Y, %H:%M %Z|agohover
Re: Text Colour?
Phil ChettPhil Chett 1213949979|%e %b %Y, %H:%M %Z|agohover
#main-content{
    margin-right: 0;
    margin-left: 16em;
    padding: 0 1em;
        color:green;
}
Last edited on 1213950007|%e %b %Y, %H:%M %Z|agohover By Phil Chett + Show more
Reply  |  Options
Unfold Re: Text Colour? by Phil ChettPhil Chett, 1213949979|%e %b %Y, %H:%M %Z|agohover
mistake
wowstrategywowstrategy 1214981071|%e %b %Y, %H:%M %Z|agohover

in the theme creation page in site manager, it says the seperate css file is recommended, here it says directly into the box is recommended.

Reply  |  Options
Unfold mistake by wowstrategywowstrategy, 1214981071|%e %b %Y, %H:%M %Z|agohover
Re: mistake
Helmuti_pdorfHelmuti_pdorf 1214982708|%e %b %Y, %H:%M %Z|agohover

EDIT: here is the "extra" file named like ( "css:mytheme") recommended!


Both can be correct… the diffrence is the "mass of changes" you want to do in CSS.

If you have only ONE thing changed than the direct entry is enough to key in. For a "howto" it is easier to concentrate on little entries.

If you want to experiment more and more - than it is a very good idea to put your CSS code in extra pages - only to save them and to have the history(!) if something goes wrong. This was the first idea of Michal ( the developer of ikidot).

Hope this makes it clearer.


Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.

Wollen Sie Wikidot helfen im deutschen » Wikidot Handbuch ?

Last edited on 1214983897|%e %b %Y, %H:%M %Z|agohover By Helmuti_pdorf + Show more
Reply  |  Options
Unfold Re: mistake by Helmuti_pdorfHelmuti_pdorf, 1214982708|%e %b %Y, %H:%M %Z|agohover
Themes
generic viagrageneric viagra 1217874791|%e %b %Y, %H:%M %Z|agohover

Hey i want my wiki site pe egr .wi kidot.com to customize like ht tp: //w ww. c heap t-cav ta.com c hea est-c aver or like http: // ww w. tru harma.com can anyone help me out regarding this and also i want to know that how can i remove the search box from my wiki site, it will be done by customizing theme.
Any suggestions please.
Jeff Turner

Edit: cleared the links and names no spam on our community site forum with adsense to your wiki.

Last edited on 1217918873|%e %b %Y, %H:%M %Z|agohover By Helmuti_pdorf + Show more
Reply  |  Options
Unfold Themes by generic viagrageneric viagra, 1217874791|%e %b %Y, %H:%M %Z|agohover
Re: Themes
Helmuti_pdorfHelmuti_pdorf 1217918945|%e %b %Y, %H:%M %Z|agohover

You have to read all about CSS theme. Go to search center ( left menu) and search for CSS or theme . This is the only way to change the layout.


Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.

Wollen Sie Wikidot helfen im deutschen » Wikidot Handbuch ?

Reply  |  Options
Unfold Re: Themes by Helmuti_pdorfHelmuti_pdorf, 1217918945|%e %b %Y, %H:%M %Z|agohover
Looking for help troubleshooting CSS
crazyhappeningscrazyhappenings 1218054144|%e %b %Y, %H:%M %Z|agohover

I am hoping someone can help me troubleshoot my css problems:

I am trying to get the css from RubyX template to work on my wiki: http://crazyhappenings.wikidot.com
Here is what it is supposed to look like: http://www.kendahlin.com/demo/rubyx/index.html#

I attached all the image files to this page: http://crazyhappenings.wikidot.com/css
I then took all the code from main.css and replaced the existing url reference with the urls from my wiki. That part seemed to work.

But, it appears to be the code that is messed up.
Is the base code getting in the way?
How can I troubleshoot this problem?
I've spent a long time reading up on css and I can't seem to get past this!

Any help would be much appreciated. Thanks.

regards, crazyhappenings

Last edited on 1218054181|%e %b %Y, %H:%M %Z|agohover By crazyhappenings + Show more
Reply  |  Options
Unfold Looking for help troubleshooting CSS by crazyhappeningscrazyhappenings, 1218054144|%e %b %Y, %H:%M %Z|agohover
Phil ChettPhil Chett 1218055064|%e %b %Y, %H:%M %Z|agohover

by the looks of it, you have just copied and pasted css from elsewhere.
Not a good idea :-(
Have a look at the css here
http://skins.wikidot.com/
replace some of the colours and urls and yourll be halfway there.

there are a number of pointers for sorting out what goes where when and why
this one helped me :-) http://psc2.wikidot.com/

Because the way the Base code is done, youll be hard pressed to get it exaclty the same, but i think you should get it close.

Last edited on 1218055410|%e %b %Y, %H:%M %Z|agohover By Phil Chett + Show more
Reply  |  Options
Unfold by Phil ChettPhil Chett, 1218055064|%e %b %Y, %H:%M %Z|agohover
Re:
RobElliottRobElliott 1218108744|%e %b %Y, %H:%M %Z|agohover

I would recommend that if you are using Firefox 3 that you get the Firebug add-on which allows you to see proposed changes to your CSS on the fly and to try different things before you add these changes to your css:theme page (or whatever you've called it)


ad5.png
Reply  |  Options
Unfold Re: by RobElliottRobElliott, 1218108744|%e %b %Y, %H:%M %Z|agohover
Re:
crazyhappeningscrazyhappenings 1218124457|%e %b %Y, %H:%M %Z|agohover

Both great suggestions. I thought the Base might be getting in the way, but there's no chance I'd be able to write my own CSS yet. And, I haven dl'ed the Firebug add-on. That's pretty cool. I have no content on the wiki yet though, so it doesn't matter what it's like. I've left my content elsewhere until I can sort this out. thanks again strathview and Phil! And, yes, I did jsut copy and paste the css - I guess I thought that was the point! oh well.

crazyhappenings

Last edited on 1218124941|%e %b %Y, %H:%M %Z|agohover By crazyhappenings + Show more
Reply  |  Options
Unfold Re: by crazyhappeningscrazyhappenings, 1218124457|%e %b %Y, %H:%M %Z|agohover
Tables
ZoryaZorya 1224015837|%e %b %Y, %H:%M %Z|agohover

Is there a css tag line that wikidot uses for the table headers? Trying to find a way (if there is one) to change the bg color of the header when you do

||~ header ||~ header ||~ header ||
|| cell-content || cell-content || cell-content ||

the header blocks would be green, or red, or blue, or whatever.

Reply  |  Options
Unfold Tables by ZoryaZorya, 1224015837|%e %b %Y, %H:%M %Z|agohover
Re: Tables
Helmuti_pdorfHelmuti_pdorf 1224055498|%e %b %Y, %H:%M %Z|agohover

A) You can use span tag!

[[span style="color:#F00; background-color: #FFFF00; padding-right:45px"]]Your text [[/span]] instead of CSS if you have only a few tables.

here is an example:

Row 1: Header 3 in green background - red text
Row 2: bla bla n
Row 3, cell 3:
[[span style="color:#F00; background-color: #FFFF00; padding-right:45px"]]Your text [[/span]]

||~ ##blue|header1## ||~ ##green| Header2##|| [[span style="color:#F00; background-color: #00FF00;" ]]**header3** [[/span]]  ||
|| bla bla 1 || bla bla 2 || bla bla 3  ||
|| short || short || [[span style="color:#F00; background-color: #FFFF00; padding-right:45px"]]**Your text** [[/span]] ||
header1 Header2 header3
bla bla 1 bla bla 2 bla bla 3
short short Your text

A.1) New Table layout with style attributes:

Only to show what is possible( taken from howto: import-simple-excel-tables-into-wikidot

Places Name First name No Glider T1 T2 T3 T4 T5 Total general
1 MATTHEWS
The King
Kong
Dave 6 Moyes
Litespeed
S
135 468 500 468 289 1860
2 PHIPPS Graham 4 WillsWingT2 287 402 337 500 256 1782
3 NEEDHAM Justin 28 Moyes
Litespeed
150 341 347 320 500 1658
4 RIGG Gordon 1 Moyes
Litespeed
129 466 295 326 438 1654
5 KAVANAGH Bruce 5 WillsWingT2 210 457 281 378 218 1544

Done with :

[[table style="width: 100%; border-collapse: collapse; border:2px solid"]]
[[row]]
[[cell style="border:1px solid silver;  background-color: #FFFF00;"]]##FF0000|**Places**##[[/cell]]
[[cell style="border:1px solid silver;  background-color: #FFFF00;"]]##FF0000|**Name**##[[/cell]]
[[cell style="border:1px solid silver;  background-color: #FFFF00;"]]##FF0000|**First name**##[[/cell]]
[[cell style="border:1px solid silver;  background-color: #FFFF00;"]]##FF0000|**No**##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #FFFF00;"]]##FF0000|**Glider**##[[/cell]]
[[cell style="border:1px solid silver;  background-color: #FFFF00;"]]##FF0000|**T1**##[[/cell]]
[[cell style="border:1px solid silver;  background-color: #FFFF00;"]]##FF0000|**T2**##[[/cell]]
[[cell style="border:1px solid silver;  background-color: #FFFF00;"]]##FF0000|**T3**##[[/cell]]
[[cell style="border:1px solid silver;  background-color: #FFFF00;"]]##FF0000|**T4**##[[/cell]]
[[cell style="border:1px solid silver;  background-color: #FFFF00;"]]##FF0000|**T5**##[[/cell]]
[[cell style="border:1px solid silver;  background-color: #FFFF00;"]]##FF0000|**Total general**##[[/cell]]
[[/row]]
[[row]]
[[cell style="border:1px solid silver; text-align: left;  background-color: #FF0000;"]]**1**[[/cell]]
[[cell style="border:1px solid silver;  background-color: #CCFFFF;"]]##0000FF|MATTHEWS _
The King _
Kong##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #CCFFFF;"]]##0000FF|//Dave//##[[/cell]]
[[cell style="border:1px solid silver;  background-color: #CCFFFF;"]]##0000FF|6##[[/cell]]
[[cell style="border:1px solid silver;  background-color: #CCFFFF;"]]##0000FF|Moyes _
Litespeed _
S##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #CCFFFF;"]]135[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #808080;"]]##00FFFF|468##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #808080;"]]##00FFFF|500##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #808080;"]]##00FFFF|468##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #C0C0C0;"]]##800080|289##[[/cell]]
[[cell style="border:1px solid silver; text-align: right;  background-color: #CCFFFF;"]]##333399|**1860**##[[/cell]]
[[/row]]
[[row]]
[[cell style="border:1px solid silver; text-align: left;  background-color: #FFFF00;"]]##0000FF|**2**##[[/cell]]
[[cell style="border:1px solid silver;  background-color: #CCFFFF;"]]PHIPPS[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #CCFFFF;"]]//Graham//[[/cell]]
[[cell style="border:1px solid silver;  background-color: #CCFFFF;"]]4[[/cell]]
[[cell style="border:1px solid silver;  background-color: #CCFFFF;"]]WillsWingT2[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #C0C0C0;"]]##800080|287##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #969696;"]]##00FF00|402##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #969696;"]]##00FF00|337##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #808080;"]]##00FFFF|500##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #C0C0C0;"]]##800080|256##[[/cell]]
[[cell style="border:1px solid silver; text-align: right;  background-color: #CCFFFF;"]]##333399|**1782**##[[/cell]]
[[/row]]
[[row]]
[[cell style="border:1px solid silver; text-align: left;  background-color: #CC99FF;"]]##800080|**3**##[[/cell]]
[[cell style="border:1px solid silver;  background-color: #CCFFFF;"]]**NEEDHAM**[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #CCFFFF;"]]__//**Justin**//__[[/cell]]
[[cell style="border:1px solid silver;  background-color: #CCFFFF;"]]**28**[[/cell]]
[[cell style="border:1px solid silver;  background-color: #CCFFFF;"]]**Moyes _
Litespeed**[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #C0C0C0;"]]##800080|150##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #969696;"]]##00FF00|341##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #969696;"]]##00FF00|347##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #969696;"]]##00FF00|320##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #808080;"]]##00FFFF|500##[[/cell]]
[[cell style="border:1px solid silver; text-align: left;  background-color: #CCFFFF;"]]##333399|**1658**##[[/cell]]
[[/row]]
[[row]]
[[cell style="border:1px solid silver; text-align: left;  background-color: #CCFFFF;"]]**4**[[/cell]]
[[cell style="border:1px solid silver;  background-color: #CCFFFF;"]]RIGG[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #CCFFFF;"]]//Gordon//[[/cell]]
[[cell style="border:1px solid silver;  background-color: #CCFFFF;"]]1[[/cell]]
[[cell style="border:1px solid silver;  background-color: #CCFFFF;"]]Moyes _
Litespeed[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #CCFFFF;"]]129[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #808080;"]]##00FFFF|466##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #C0C0C0;"]]##800080|295##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #969696;"]]##00FF00|326##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #969696;"]]##00FF00|438##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #CCFFFF;"]]##333399|**1654**##[[/cell]]
[[/row]]
[[row]]
[[cell style="border:1px solid silver; text-align: left;  background-color: #CCFFFF;"]]**5**[[/cell]]
[[cell style="border:1px solid silver;  background-color: #CCFFFF;"]]KAVANAGH[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #CCFFFF;"]]//Bruce//[[/cell]]
[[cell style="border:1px solid silver;  background-color: #CCFFFF;"]]5[[/cell]]
[[cell style="border:1px solid silver;  background-color: #CCFFFF;"]]##FF0000|WillsWingT2##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #C0C0C0;"]]##800080|210##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #808080;"]]##00FFFF|457##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #C0C0C0;"]]##800080|281##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #969696;"]]##00FF00|378##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #C0C0C0;"]]##800080|218##[[/cell]]
[[cell style="border:1px solid silver; text-align: center;  background-color: #CCFFFF;"]]##333399|**1544**##[[/cell]]
[[/row]]
[[/table]]

B) Where in the CSS this can be changed ?

I have only found out the css trick with own classes with the specific table layout using:

B.1.) Build an own Class for this and use a little additional "css:table-class" :

(taken from the old post :http://community.wikidot.com/forum/t-44316/custom-css-doesn-t-work )
Have a read!

.portaltitle { 
padding: 10px; background-color: #7F92C7; border: 3px solid silver; color: black
}
 
.portalsubtitle { 
padding: 10px; border: 3px solid silver; background-color: white; color: black
}
 
.portalfeaturedarticletitle { 
padding: 10px; background-color: #79B379; border: 3px solid silver; width: 75%; text-align: center; color: black
}
 
.portalquicklinkstitle { 
padding: 10px; background-color: #79B379; border: 3px solid silver; width: 25%; text-align: center; color: black
}
 
.portalfeaturedarticle { 
padding: 10px; background-color: #C8C8C8; border: 3px solid silver; color: black
}
 
.portalquicklinks {
padding: 10px; background-color: #C8C8C8; border: 1px solid silver; color: black
}
 
.portallinkbar { 
padding: 10px; background-color: #BDCFBE; border: 1px solid silver; text-align: center; color: black
}

B2.) Table codings with own classes

[[table style="margin: 0 10px; width: 90%;"]]]]
[[row]]
[[cell class="portaltitle"]]
Welcome to --XXX--.
[[/cell]]
[[/row]]
[[row]]
[[cell class="portalsubtitle"]]
--XXX--
[[/cell]]
[[/row]]
[[/table]]
----
[[table style="margin: 0 10px; width: 90%;"]]
[[row]]
[[cell class="portalfeaturedarticletitle"]]
Today's Featured Article:
[[/cell]]
[[cell class="portalquicklinkstitle"]]
Quick Links:
[[/cell]]
[[/row]]
[[row]]
[[cell class="portalfeaturedarticle"]]
--XXX--
[[/cell]]
[[cell class="portal-quicklinks"]]
--XXX--
[[/cell]]
[[/row]]
[[/table]]
[[table]] 
[[row]]
[[cell class="portallinkbar"]]
**--XXX--:** --XXX--
[[/cell]]
[[/row]]
[[/table]]

B.3) In action:

this is a hard job - where to store the "css:table" page used?:

Welcome to XXX.
XXX

Today's Featured Article: Quick Links:
XXX

——

Have a try!


Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.

Wollen Sie Wikidot helfen im deutschen » Wikidot Handbuch ?

Last edited on 1224056244|%e %b %Y, %H:%M %Z|agohover By Helmuti_pdorf + Show more
Reply  |  Options
Unfold Re: Tables by Helmuti_pdorfHelmuti_pdorf, 1224055498|%e %b %Y, %H:%M %Z|agohover
Re: Tables
ZoryaZorya 1224092700|%e %b %Y, %H:%M %Z|agohover

Yeah, I figured out how to do it that way. Was looking to see if there was a bit that I could put in the css for the theme and just have it be auto though. Like you have:

h1 {color:#<blah>}

If you could do:

<table something> {color:#<blah>}

Just don't know what the <table something> part would be.

Unfold Re: Tables by ZoryaZorya, 1224092700|%e %b %Y, %H:%M %Z|agohover
Re: Tables
Helmuti_pdorfHelmuti_pdorf 1224093592|%e %b %Y, %H:%M %Z|agohover

Sorry - I cannot detect in CSS any table related pre-defined colors for "headers" ..

Could be you have more chance… use firebug as strathview has mentioned..


Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.

Wollen Sie Wikidot helfen im deutschen » Wikidot Handbuch ?

Unfold Re: Tables by Helmuti_pdorfHelmuti_pdorf, 1224093592|%e %b %Y, %H:%M %Z|agohover
Re: Tables
Ed JohnsonEd Johnson 1224126329|%e %b %Y, %H:%M %Z|agohover

Web Developer (similar tool as Firebug) to the rescue! Here's some CSS to give you a nudge in the right direction.

The limitation you'll have is that you won't be able to use multiple colors in different header cells. You'll have to use one of the other methods described here to have the most control (I like Gerdami's Excel utility).

-Ed

the code below will apply to Wikidot table header cells
||~ Header Cell Text||
.wiki-content-table tr>th{
  /* background color */
     background-color:#ff0000;
  /* text color */
     color:#ffffff;
  /* text alignment */
     text-align:left; /* right, center, justify */
}

the code below will apply to Wikidot table non-header cells
||"Normal" Cell Text||
.wiki-content-table tr>td{
  /* background color */
     background-color:#ffffff;
  /* text color */
     color:#ff0000;
  /* text alignment */
     text-align:left; /* right, center, justify */
}
Last edited on 1224210392|%e %b %Y, %H:%M %Z|agohover By Ed Johnson + Show more
Unfold Re: Tables by Ed JohnsonEd Johnson, 1224126329|%e %b %Y, %H:%M %Z|agohover
Re: Tables
ZoryaZorya 1224173160|%e %b %Y, %H:%M %Z|agohover

Thanks so much! That's exactly what I was looking for.

Reply  |  Options
Unfold Re: Tables by ZoryaZorya, 1224173160|%e %b %Y, %H:%M %Z|agohover
Need CSS
Anuja PathakAnuja Pathak 1224025736|%e %b %Y, %H:%M %Z|agohover

Hi, Where should I get the CSS for Co and Webbish themes?
Any help is appreciated.Thanks

Reply  |  Options
Unfold Need CSS by Anuja PathakAnuja Pathak, 1224025736|%e %b %Y, %H:%M %Z|agohover
Need CSS
RobElliottRobElliott 1224054637|%e %b %Y, %H:%M %Z|agohover

See my post earlier on about Firebug, I really do think that this is the easiest way to view the CSS of a theme and work out which elements to adjust and see the effect if you do change them. It's particularly useful when looking at CSS themes like the ones you've mentioned which lurk in the depths of wikidot and for which there isn't any CSS code printed in the documentation.
Rob


ad5.png
Last edited on 1224056572|%e %b %Y, %H:%M %Z|agohover By RobElliott + Show more
Reply  |  Options
Unfold Need CSS by RobElliottRobElliott, 1224054637|%e %b %Y, %H:%M %Z|agohover
I really need Help
PaladinofwarPaladinofwar 1225292595|%e %b %Y, %H:%M %Z|agohover

High I am new to wikidot and am trying to build a page. I want to be able to upload a background image and make it repeat over and over. How can I do this without being able to edit an existing code? I know some HTML but not much else.

Reply  |  Options
Unfold I really need Help by PaladinofwarPaladinofwar, 1225292595|%e %b %Y, %H:%M %Z|agohover
Re: I really need Help
RobElliottRobElliott 1225294878|%e %b %Y, %H:%M %Z|agohover

deleted


ad5.png
Last edited on 1241681240|%e %b %Y, %H:%M %Z|agohover By RobElliott + Show more
Reply  |  Options
Unfold Re: I really need Help by RobElliottRobElliott, 1225294878|%e %b %Y, %H:%M %Z|agohover
Re: I really need Help
Phil ChettPhil Chett 1225298699|%e %b %Y, %H:%M %Z|agohover

i think you are talking about a background image, repeating as in say the quake theme. This is done using css as a background image, in custom themes.
Where you want to place it will depend on how it is done.

If you intend to mess with CSS then as myself and so many others have repeatedly said, get ff with the web dev addon, and start to play :-)

Reply  |  Options
Unfold Re: I really need Help by Phil ChettPhil Chett, 1225298699|%e %b %Y, %H:%M %Z|agohover
Very helpfull.
Georges42Georges42 1225982081|%e %b %Y, %H:%M %Z|agohover

Very helpfull. Thanks. I wish to find other ways to publish Excel. Maybe with "embed"? From zohoo sheets?
This present way asks a lot of work.
An example at http://georges42.wikidot.com/colores at bottom: a zoho sheet.

Last edited on 1225982370|%e %b %Y, %H:%M %Z|agohover By Georges42 + Show more
Reply  |  Options
Unfold Very helpfull. by Georges42Georges42, 1225982081|%e %b %Y, %H:%M %Z|agohover
Re: Very helpfull.
RobElliottRobElliott 1225982901|%e %b %Y, %H:%M %Z|agohover

I wrote a snippet on how to embed zoho sheets here

Rob


ad5.png
Reply  |  Options
Unfold Re: Very helpfull. by RobElliottRobElliott, 1225982901|%e %b %Y, %H:%M %Z|agohover
Re: Very helpfull.
Georges42Georges42 1226029395|%e %b %Y, %H:%M %Z|agohover

Excellent job. Thanks.

Reply  |  Options
Unfold Re: Very helpfull. by Georges42Georges42, 1226029395|%e %b %Y, %H:%M %Z|agohover
Customizing the Editor
ZoryaZorya 1227130189|%e %b %Y, %H:%M %Z|agohover

I did find a how-to on customizing the input boxes for the editor, however… I was looking to see if anyone knows anything about how to edit other portions of the editor. I have a theme that's light text on a dark background and (I'm guessing) because of that I can't see any of the text in the alt mouseovers and popup windows that work with the wikidot page editor. White on white isn't exactly readable after all. ;) Any thoughts/ideas?

Thanks in advance!

Reply  |  Options
Unfold Customizing the Editor by ZoryaZorya, 1227130189|%e %b %Y, %H:%M %Z|agohover
Re: Customizing the Editor
Phil ChettPhil Chett 1227132474|%e %b %Y, %H:%M %Z|agohover

Hi Zorya.
i "think" all the css relating to what you are after is in either:
http://zorya.wikidot.com/common--theme/base/css/editor.css

or

http://zorya.wikidot.com/common--theme/base/css/odialog.css

or both.

Reply  |  Options
Unfold Re: Customizing the Editor by Phil ChettPhil Chett, 1227132474|%e %b %Y, %H:%M %Z|agohover
Re: Customizing the Editor
RobElliottRobElliott 1227168852|%e %b %Y, %H:%M %Z|agohover

I wrote a how to on customising the editor a short while back which is at http://community.wikidot.com/howto:customise-the-wikidot-editor

Edit: oh, re-reading your post I see that you found my how-to on this. I have updated the how-to to show how to change the dialog popup boxes for saving the page and the background colour and text colour of the hover tips.
Rob


ad5.png
Last edited on 1227170349|%e %b %Y, %H:%M %Z|agohover By RobElliott + Show more
Unfold Re: Customizing the Editor by RobElliottRobElliott, 1227168852|%e %b %Y, %H:%M %Z|agohover
Re: Customizing the Editor
ZoryaZorya 1227287491|%e %b %Y, %H:%M %Z|agohover

Awesome. Thanks much guys!

Unfold Re: Customizing the Editor by ZoryaZorya, 1227287491|%e %b %Y, %H:%M %Z|agohover
Re: Customizing the Editor
ZoryaZorya 1227288222|%e %b %Y, %H:%M %Z|agohover

Yep, was in the odialog.css file just needed to know where to look. The following did it for me. Thanks again!

.hovertip {color:#000000;}

.box444{color:#000000;}
Reply  |  Options
Unfold Re: Customizing the Editor by ZoryaZorya, 1227288222|%e %b %Y, %H:%M %Z|agohover
help on Localize theme
milenemilene 1228345866|%e %b %Y, %H:%M %Z|agohover

I need some help on changing the header's picture for the Localize theme.
Could some one help me?

Thanks,
milene

Reply  |  Options
Unfold help on Localize theme by milenemilene, 1228345866|%e %b %Y, %H:%M %Z|agohover
Re: help on Localize theme
Ed JohnsonEd Johnson 1228357468|%e %b %Y, %H:%M %Z|agohover

If you just want to change the existing image, it's pretty simple. I would create a replacement for the leaf image with the same dimensions (293x220) and upload it to a page (your start page would be a good place for this since it's unlikely you'll ever delete it). Next, create a custom theme (i.e "Localize-extended") and choose "Localize" as the theme to extend. Then add this to the custom CSS box, changing the background-image:url to point to your new header graphic (I saw that you're using localize on your dimatch-hta site so I could give a good example).

#header {
    padding:1em 0; 
    margin:0;
    text-align:left;
    background-image:url(http://dimatch-hta.wikidot.com/local--files/start/your_new_graphic.jpg); 
    background-repeat:no-repeat; 
    background-position:right center;
    height: 6em;
}

Let us know if you need more help or want to change more of the style.

-Ed

Reply  |  Options
Unfold Re: help on Localize theme by Ed JohnsonEd Johnson, 1228357468|%e %b %Y, %H:%M %Z|agohover
Re: help on Localize theme
milenemilene 1228410591|%e %b %Y, %H:%M %Z|agohover

It worked!
For now, I'm thinking about the site structure (it is supposed to be a site for presenting the study and, if possible, to have some private "working"pages).
But I'll let you know if I need more help (I think I will).
:)

thanks,
milene

Reply  |  Options
Unfold Re: help on Localize theme by milenemilene, 1228410591|%e %b %Y, %H:%M %Z|agohover
Theme Files
NorthNorth 1228468859|%e %b %Y, %H:%M %Z|agohover

I would like to use image files like this:

url(background00.gif)

How can I upload the image files to the themes page?
if I upload to the mytheme page the file link is ../local-files/… but the link required is ../local-theme/… or something similar.

Last edited on 1228469278|%e %b %Y, %H:%M %Z|agohover By North + Show more
Reply  |  Options
Unfold Theme Files by NorthNorth, 1228468859|%e %b %Y, %H:%M %Z|agohover
Re: Theme Files
SquarkSquark 1228469480|%e %b %Y, %H:%M %Z|agohover

Are you talking about themes.wikidot.com or your own custom theme on your site?

Reply  |  Options
Unfold Re: Theme Files by SquarkSquark, 1228469480|%e %b %Y, %H:%M %Z|agohover
Re: Theme Files
NorthNorth 1228470015|%e %b %Y, %H:%M %Z|agohover

I am talking about my own custom theme on my site.

Reply  |  Options
Unfold Re: Theme Files by NorthNorth, 1228470015|%e %b %Y, %H:%M %Z|agohover
Re: Theme Files
RobElliottRobElliott 1228469651|%e %b %Y, %H:%M %Z|agohover

If you are adding for example a new image in the header of your site the code would be in the format shown below. I uploaded the .jpg file to my css:theme page and then added the reference to it in my custom CSS.

#header {
    background-image:url(http://strathviewconsultants.wikidot.com/local--files/css:theme/sc3_header.jpg);
    ..etc
    ..etc
}

Rob


ad5.png
Last edited on 1228469892|%e %b %Y, %H:%M %Z|agohover By RobElliott + Show more
Reply  |  Options
Unfold Re: Theme Files by RobElliottRobElliott, 1228469651|%e %b %Y, %H:%M %Z|agohover
Re: Theme Files
NorthNorth 1228470305|%e %b %Y, %H:%M %Z|agohover

I already know that.
The thing is that the theme css is this one:

http://<wiki_name>.wikidot.com/local--theme/<custom_theme_name>/style.css?24

For the files to be used without the full link there should be a way to upload the files to this location:
http://<wiki_name>.wikidot.com/local--theme/<custom_theme_name>/

<wiki_name> and <custom_theme_name> are generic.

Unfold Re: Theme Files by NorthNorth, 1228470305|%e %b %Y, %H:%M %Z|agohover
Re: Theme Files
RobElliottRobElliott 1228470811|%e %b %Y, %H:%M %Z|agohover

""I already know that.""

No need to jump down my throat, particularly when I don't think you have quite got this right. What I said in my previous post is the correct way to do it. You do not upload the file for your header to a theme, you upload it to a page on your site and reference it in your custom theme CSS which just happens to be named /local--theme/{yourname}/style.css... as shown in my site below:

themename.png

Rob


ad5.png
Last edited on 1228472825|%e %b %Y, %H:%M %Z|agohover By RobElliott + Show more
Unfold Re: Theme Files by RobElliottRobElliott, 1228470811|%e %b %Y, %H:%M %Z|agohover
Re: Theme Files
NorthNorth 1228471429|%e %b %Y, %H:%M %Z|agohover

I wasn't jumping at you or anything.
Please don't look down on me. I know what I am doing. Although I am new to CSS I am learning fast. The things you told me were known to me. Also I know of Firebug and Web Developer and I am using them.
As a programmer I can come up with solutions myself. If you look at my first post I didn't ask how I can put an image in my css but if there is a way tu use it without the full url. I guess not.

Last edited on 1228714825|%e %b %Y, %H:%M %Z|agohover By North + Show more
Reply  |  Options
Unfold Re: Theme Files by NorthNorth, 1228471429|%e %b %Y, %H:%M %Z|agohover
Please update this how-to to include need to switch your selected theme!
Neil FirthNeil Firth 1232243487|%e %b %Y, %H:%M %Z|agohover

oops! comment withdrawn ;)

Last edited on 1232243696|%e %b %Y, %H:%M %Z|agohover By Neil Firth + Show more
Reply  |  Options
breadcrumbs vs title
WikiKragWikiKrag 1238434600|%e %b %Y, %H:%M %Z|agohover

Hello everyone.
In customizing my theme I wanted to move the breadcrumbs above the page title. Any suggestion?
Thanks in advance,
~WK

Reply  |  Options
Unfold breadcrumbs vs title by WikiKragWikiKrag, 1238434600|%e %b %Y, %H:%M %Z|agohover
Re: breadcrumbs vs title
Ed JohnsonEd Johnson 1238435484|%e %b %Y, %H:%M %Z|agohover

If it's for your Pharmament site, add position: and top: styles to your custom CSS:

#breadcrumbs
{
  background-color: #F7F7F7;
  padding: 0.25em;
  position: absolute;
  top: 100px;
}

-Ed

Reply  |  Options
Unfold Re: breadcrumbs vs title by Ed JohnsonEd Johnson, 1238435484|%e %b %Y, %H:%M %Z|agohover
Re: breadcrumbs vs title
WikiKragWikiKrag 1238436074|%e %b %Y, %H:%M %Z|agohover

Worked like a charm!
As long as we don't change the size of the header it'll do just what I needed. And when we do I should be able to adjust the absolute positioning.

Thank you,
~WK

Reply  |  Options
Unfold Re: breadcrumbs vs title by WikiKragWikiKrag, 1238436074|%e %b %Y, %H:%M %Z|agohover
Why have you uploaded a file to this page ?
Helmuti_pdorfHelmuti_pdorf 1241680856|%e %b %Y, %H:%M %Z|agohover

Max FernandesMax Fernandes uploaded a .jpg file called tema1.jpg on this screen

http://community.wdfiles.com/local--files/howto:design-your-own-css-theme/tema1.JPG

Looks well like a image for the" top"

Do you need a background - picture always available from an "open" storage?

or do you want to give it as a gift to the community?


Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.

Wollen Sie Wikidot helfen im deutschen » Wikidot Handbuch ?

Reply  |  Options
Unfold Why have you uploaded a file to this page ? by Helmuti_pdorfHelmuti_pdorf, 1241680856|%e %b %Y, %H:%M %Z|agohover
Customising your site for Dummies
DocmartinDocmartin 1245788987|%e %b %Y, %H:%M %Z|agohover

This is all really confusing. I've just managed to work out how to 'access' the code for customising the site (which when you know how…) but shouldn't we offer a separate page explaining how to do a few simple things, step by step? The existing pages sort of lost me where it started saying edit this code, and offered a blank box!

I can help write a really simple page if Michael wants to start one.

Reply  |  Options
Unfold Customising your site for Dummies by DocmartinDocmartin, 1245788987|%e %b %Y, %H:%M %Z|agohover
Re: Customising your site for Dummies
RobElliottRobElliott 1245829538|%e %b %Y, %H:%M %Z|agohover

Docmartin, as part of a project to re-design the theme for another wikidot member I am currently preparing an online tutorial/walkthrough about getting started with designing themes and making changes to CSS. I am very guilty of taking longer over these things than I should, but before long the how-to page will be updated and hopefully will make it less confusing. I can see however that you have managed to create a new theme and have started to add custom CSS so that's good.

The existing pages sort of lost me where it started saying edit this code, and offered a blank box!

Where did this happen? If there some rogue instruction somewhere we can correct that easily.

Rob


ad5.png
Last edited on 1245833158|%e %b %Y, %H:%M %Z|agohover By RobElliott + Show more
Reply  |  Options
Unfold Re: Customising your site for Dummies by RobElliottRobElliott, 1245829538|%e %b %Y, %H:%M %Z|agohover
Re: Customising your site for Dummies
DocmartinDocmartin 1245850553|%e %b %Y, %H:%M %Z|agohover

Hi Rob,

Well, let me know if you want any input/ feedback on the page. The 'blank box' riddle appears after you go to:

manage site/
appearence/
custom themes/
create a new theme

The naive user (like me) chooses the theme to follow, eg basic, and then expects the code to appear in the box below. Only 'it never does'! We need some advice on how to get the 'appropriate' code there to edit. How about putting the code from the selected theme straight into the box?

Martin

Last edited on 1245850945|%e %b %Y, %H:%M %Z|agohover By Docmartin + Show more
Unfold Re: Customising your site for Dummies by DocmartinDocmartin, 1245850553|%e %b %Y, %H:%M %Z|agohover
Re: Customising your site for Dummies
RobElliottRobElliott 1245856928|%e %b %Y, %H:%M %Z|agohover

Martin, ah I see what you mean. That box is blank because what goes in there is the custom CSS that is added to or, more often, changes the base and theme CSS, i.e the "cascading" in cascading style sheets. As you've now realised, that CSS is either typed in or imported from another page on the site (which is how I do it).

I'm not sure the best way of showing the base and theme CSS but I really don't think it should be put into that blank box when you try to create a new theme. It would no doubt cause coding issues and would actually probably confuse more than it would illuminate given that the base CSS and theme CSS run to hundreds and hundreds of lines.

For a new user I can see your point that it would be beneficial for them to see what the code in that blank box will build on. And perhaps the blank box could be re-titled something like "Add/import your CSS to change the theme". Many advanced users are using Firebug to view the CSS code and try changes on the fly and it is an invaluable tool, but most new users probably won't know about that. Unfortunately if the developers put the full CSS of the base and theme on a page it would make for a very long page indeed given the length of the stylesheets. I'll give this some more thought and see if there is something that we might add to the wishlist to show the CSS (perhaps in a new window) that would make this aspect of creating a new theme a bit more understandable.

Rob


ad5.png
Last edited on 1245859520|%e %b %Y, %H:%M %Z|agohover By RobElliott + Show more
Unfold Re: Customising your site for Dummies by RobElliottRobElliott, 1245856928|%e %b %Y, %H:%M %Z|agohover
Re: Customising your site for Dummies
DocmartinDocmartin 1245870796|%e %b %Y, %H:%M %Z|agohover

"And perhaps the blank box could be re-titled something like "Add/import your CSS to change the theme"

Yes, Rob, I do see the problems with putting all the code in. After all, the aim is to offer something friendly. Retitling the box though would be worth doing. Not quite this, I suggest, as CSS is off-putting to us Dummies!

How about:

'Add additional custom instructions in the box to adapt the existing code of your chosen theme. See this page for more details.'

ie. add an extra guide page straight away. My suggestion is that the code is described with no 'assumptions' at all made! - eg. this (typo corrected) is how I communicated on the topic on the Philosophical Investigations site just:

The trick it seems is in these normally hidden 'CSS' scripts that each page automatically loads (they show up at the top of the 'source' for every page as http sites for where the page has gone off looking for its style thingies) giving the 'custom' design. Now I've begun to understand the theory, it ain't so difficult to modify the pages, and indeed it seems even the 'orrible dotty boxes can be consigned to history if we want!

If you like this change, (this is the code for it below) we now need to add this to all the pages. That involves going to site manager and themes and then assigning all the pages not to 'co' but to the modified version, which I've called 'main pages'.

blockquote{
border: 0px #999; [I made the border '0']
padding: 0 1em;
background-color: #f4f4f4;
}

#toc{
margin: 1em auto 1em 0;
padding: 0em 0.5em;
border: 1px solid gray; [I just changed this to solid from dotted]
background-color: #F7F7F7;
display: table;
}

Best,

Martin

Last edited on 1245870972|%e %b %Y, %H:%M %Z|agohover By Docmartin + Show more
Reply  |  Options
Unfold Re: Customising your site for Dummies by DocmartinDocmartin, 1245870796|%e %b %Y, %H:%M %Z|agohover
sciencetist(aakash)sciencetist(aakash) 1258637133|%e %b %Y, %H:%M %Z|agohover

i want this wikidot community theme

Reply  |  Options
Unfold by sciencetist(aakash)sciencetist(aakash), 1258637133|%e %b %Y, %H:%M %Z|agohover
leigerleiger 1258699880|%e %b %Y, %H:%M %Z|agohover

There's a bunch of themes available on http://themes.wikidot.com that you might want to look at.

As for using this theme… that's up to the guy that designed most of it! ;-)


— Shane | CycloDS Revolution | CycloDS Compatibility

Watch Avatar 3D. It is THE most spectacular film I've ever seen. It is really, genuinely EPIC.
No DVD or even the regular version of the same movie can match this in 3D on the big screen.

Reply  |  Options
Unfold by leigerleiger, 1258699880|%e %b %Y, %H:%M %Z|agohover
leigerleiger 1258699970|%e %b %Y, %H:%M %Z|agohover

Can't see any reason why he'd say no, to be honest, but will wait anyway.

In the meantime, you should try setting up an admin:themes page for your CSS code. It means that any changes you make to your theme are recorded in the page's history.


— Shane | CycloDS Revolution | CycloDS Compatibility

Watch Avatar 3D. It is THE most spectacular film I've ever seen. It is really, genuinely EPIC.
No DVD or even the regular version of the same movie can match this in 3D on the big screen.

Reply  |  Options
Unfold by leigerleiger, 1258699970|%e %b %Y, %H:%M %Z|agohover
How to add a custom header?
PsychPsych 1261938608|%e %b %Y, %H:%M %Z|agohover

Well I don't know how to make a custom header, but I want to know how.
I do know a bit of CSS, but it's not like the one I do. I usually do CSS on a seperate page, then link it to the HTML file I'm doing.
Is there a way?

Reply  |  Options
Unfold How to add a custom header? by PsychPsych, 1261938608|%e %b %Y, %H:%M %Z|agohover
Re: How to add a custom header?
gerdamigerdami 1261945266|%e %b %Y, %H:%M %Z|agohover

I usually do CSS on a seperate page, then link it to the HTML file I'm doing. Is there a way?

Have a look at http://community.wikidot.com/howto:fiddle-with-css-the-easy-way

Reply  |  Options
Unfold Re: How to add a custom header? by gerdamigerdami, 1261945266|%e %b %Y, %H:%M %Z|agohover
Re: How to add a custom header?
PsychPsych 1262019703|%e %b %Y, %H:%M %Z|agohover

But is there a way to just type a CSS code then the header image shows up? I just need to change the header, that's all.

Reply  |  Options
Unfold Re: How to add a custom header? by PsychPsych, 1262019703|%e %b %Y, %H:%M %Z|agohover
BrunhildaBrunhilda 1262021088|%e %b %Y, %H:%M %Z|agohover

But is there a way to just type a CSS code then the header image shows up? I just need to change the header, that's all.

There is, but what gerdami is giving you is a link on how to do your whole CSS in a right way, so later can be easier to you to make changes (because you will want to make more changes, for sure).

To change your custom header, you first have to upload the picture you want to be your header. the CSS would be:

#header {
background-color:put the color you want;
background-image: url(url of the picture);
height:8.3em;
padding-bottom:50px;
background-repeat: no-repeat;
}

#header h1 {
padding: 0em 0em 0em 3em;
}

You can change the values according to your needs.

But before doing anything, i suggest to read the link gerdami gave you. It will make your life much easier in the future.


The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt. Bertrand Russell

Reply  |  Options
Unfold by BrunhildaBrunhilda, 1262021088|%e %b %Y, %H:%M %Z|agohover
PsychPsych 1262562643|%e %b %Y, %H:%M %Z|agohover

Doesn't work

#header {
background-color:#000;
background-image: url (http://example.net/img/bg.gif);
height:8.3em;
padding-bottom:50px;
background-repeat: repeat-x;
}

#header h1 {
padding: 0em 0em 0em 3em;
}

@import url(http://www.wikidot.com/common--theme/shiny/css/style.css);

I put that in a wiki page.

Reply  |  Options
Unfold by PsychPsych, 1262562643|%e %b %Y, %H:%M %Z|agohover
Phil ChettPhil Chett 1262597272|%e %b %Y, %H:%M %Z|agohover

its does work, (badly) but you haven't assigned that code block in
admin:manage..themes..apperance..use external theme

(oh… and you need to pet the refence to shinny first, not last.)

eg: http://psc.wikidot.com/css:mineipedia

Last edited on 1262597353|%e %b %Y, %H:%M %Z|agohover By Phil Chett + Show more
Reply  |  Options
Unfold by Phil ChettPhil Chett, 1262597272|%e %b %Y, %H:%M %Z|agohover
PsychPsych 1262638515|%e %b %Y, %H:%M %Z|agohover

The black thing on that site is the header?

Reply  |  Options
Unfold by PsychPsych, 1262638515|%e %b %Y, %H:%M %Z|agohover
yes
Phil ChettPhil Chett 1262639069|%e %b %Y, %H:%M %Z|agohover

its your 48 by 48 pic and as you have placed it in the header , then yes its the header :-)

Reply  |  Options
Unfold yes by Phil ChettPhil Chett, 1262639069|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1262814053|%e %b %Y, %H:%M %Z|agohover

How come I can still see the black-white gradient? You just overlapped it, but not change the whole thing.

Unfold Re: yes by PsychPsych, 1262814053|%e %b %Y, %H:%M %Z|agohover
Re: yes
RobElliottRobElliott 1262814824|%e %b %Y, %H:%M %Z|agohover

You could always add a width:100%; to the #header rule as I've just done on the site that Phil gave the link to. Does that do what you want?


ad5.png
Last edited on 1262815784|%e %b %Y, %H:%M %Z|agohover By RobElliott + Show more
Unfold Re: yes by RobElliottRobElliott, 1262814824|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1262898932|%e %b %Y, %H:%M %Z|agohover

That's ALMOST what I need. :)
But after I put this and did what Phil said, and after I saved it.
The whole theme turns Basic or just plain white theme.

Unfold Re: yes by PsychPsych, 1262898932|%e %b %Y, %H:%M %Z|agohover
Re: yes
RobElliottRobElliott 1262899566|%e %b %Y, %H:%M %Z|agohover

You have an error in your CSS. The @import should be immediately after the code type="css" but you have it before it so the import doesn't happen.


ad5.png
Unfold Re: yes by RobElliottRobElliott, 1262899566|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1262903300|%e %b %Y, %H:%M %Z|agohover

Can you post it here?

Unfold Re: yes by PsychPsych, 1262903300|%e %b %Y, %H:%M %Z|agohover
Re: yes
RobElliottRobElliott 1262904009|%e %b %Y, %H:%M %Z|agohover

Can you post it here?

You page http://minepedia.wikidot.com/theme currently has this:

@import url(http://www.wikidot.com/common--theme/shiny/css/style.css);
[[code type="CSS"]]
#header {
background-color:#000;
background-image: url (http://fc03.deviantart.com/fs27/f/2008/150/a/2/Kicking_Ass_and_Taking_Names_by_sglider12.jpg);
height:8.3em;
padding-bottom:25px;
background-repeat: repeat-x;
}

#header h1 {
padding: 0em 0em 0em 3em;
}
[[/code]]

as you can see, the @import is before the [[code type="css"]] which is incorrect. It should be:
[[code type="CSS"]]

@import url(http://www.wikidot.com/common--theme/shiny/css/style.css);

#header {
background-color:#000;
background-image: url (http://fc03.deviantart.com/fs27/f/2008/150/a/2/Kicking_Ass_and_Taking_Names_by_sglider12.jpg);
height:8.3em;
padding-bottom:25px;
background-repeat: repeat-x;
}

#header h1 {
padding: 0em 0em 0em 3em;
}

[[/code]]

ad5.png
Unfold Re: yes by RobElliottRobElliott, 1262904009|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1262904655|%e %b %Y, %H:%M %Z|agohover

Ok I did that, but on the front page http://minepedia.wikidot.com/theme
It turns white, like basic plain style. http://i48.tinypic.com/2r5unnm.png

Unfold Re: yes by PsychPsych, 1262904655|%e %b %Y, %H:%M %Z|agohover
Re: yes
RobElliottRobElliott 1262906748|%e %b %Y, %H:%M %Z|agohover

Just looking at this now, but one thing I've noticed: there is a gap between url and the bracket in background-image: url (http: so remove the space.


ad5.png
Last edited on 1262934802|%e %b %Y, %H:%M %Z|agohover By gerdami + Show more
Unfold Re: yes by RobElliottRobElliott, 1262906748|%e %b %Y, %H:%M %Z|agohover
Re: yes
RobElliottRobElliott 1262907286|%e %b %Y, %H:%M %Z|agohover

..apart from that everything seems OK and your code is working on one of my test pages here


ad5.png
Unfold Re: yes by RobElliottRobElliott, 1262907286|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1263010397|%e %b %Y, %H:%M %Z|agohover

Doesn't work… http://minepedia.wikidot.com/theme
I even did your external thinggg.

Unfold Re: yes by PsychPsych, 1263010397|%e %b %Y, %H:%M %Z|agohover
Re: yes
RobElliottRobElliott 1263031195|%e %b %Y, %H:%M %Z|agohover

Make sure that in your admin:manage -> appearance -> themes that you have _default highlighted in the drop down list. Then select "Or use an external theme" and in the box it should be /theme/code/1. Then save the changes. Go back to the page and refresh (F5 or ctrl+r).


ad5.png
Unfold Re: yes by RobElliottRobElliott, 1263031195|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1263045988|%e %b %Y, %H:%M %Z|agohover
Doesn't work…
I can't believe it takes a week just to do a simple theme. :
Unfold Re: yes by PsychPsych, 1263045988|%e %b %Y, %H:%M %Z|agohover
Re: yes
RobElliottRobElliott 1263046633|%e %b %Y, %H:%M %Z|agohover

Believe me it doesn't take a week to do a simple bit of CSS - if it did I'd be out of work! Though it can take a lot longer to get a successful theme working well. You must have got something wrong somewhere and I suspect it is in your site manager, particularly as using Firebug I can't see the CSS in your theme page being referenced and it should be. Please invite me to be a member of your site, then when I have joined promote me to admin and I'll sort it out for you. then I' will resign from the site.

Or, if you don't want to invite me to be a temporary member and admin of your site, take a screen shot of the themes page on admin:manage ->appearance so I can see what you've put there.


ad5.png
Last edited on 1263047657|%e %b %Y, %H:%M %Z|agohover By RobElliott + Show more
Unfold Re: yes by RobElliottRobElliott, 1263046633|%e %b %Y, %H:%M %Z|agohover
Re: yes
RobElliottRobElliott 1263071085|%e %b %Y, %H:%M %Z|agohover

Thanks for making me a temporary admin of your site, it really helps to see what is going on.

In your site manager ->appearance -> themes you had the following in the "Or use an external theme" box:

http://minepedia.wikidot.com/theme

If you look at my post a couple above you'll see I said that you should enter /theme/code/1 in that box. You hadn't done this which is why it didn't work. I have now changed it and it works.

The reason it needs that /theme/code/1 syntax is that it needs to look at the css in the first codeblock on that page. You had just given a link to the page itself which wasn't enough.


ad5.png
Last edited on 1263071265|%e %b %Y, %H:%M %Z|agohover By RobElliott + Show more
Unfold Re: yes by RobElliottRobElliott, 1263071085|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1263072118|%e %b %Y, %H:%M %Z|agohover

Oh thanks! :)
Thanks for helping me. :D

Unfold Re: yes by PsychPsych, 1263072118|%e %b %Y, %H:%M %Z|agohover
Re: yes
RobElliottRobElliott 1263072367|%e %b %Y, %H:%M %Z|agohover

You're welcome. Now comes the fun with getting the rest of the design as you want it :)


ad5.png
Unfold Re: yes by RobElliottRobElliott, 1263072367|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1263073126|%e %b %Y, %H:%M %Z|agohover

How do you find what "section" the item is?
Like for the background image, it's #header, how do I find those like that?

Unfold Re: yes by PsychPsych, 1263073126|%e %b %Y, %H:%M %Z|agohover
Re: yes
RobElliottRobElliott 1263073659|%e %b %Y, %H:%M %Z|agohover

If you are using Firefox as your browser a good way to do this and to learn CSS is to get an add-in called Firebug from http://www.getfirebug.com. It allows you to see what CSS is controlling what elements and it enables you to make changes on-the-fly and see what the result will be before you put the code into your CSS for real. It is one of the web development tools (along with paint.net and its add-on effects) that I would not want to be without.


ad5.png
Unfold Re: yes by RobElliottRobElliott, 1263073659|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1263074401|%e %b %Y, %H:%M %Z|agohover

How about removing the text on top of the page? I want to replace it with a logo. :)

Unfold Re: yes by PsychPsych, 1263074401|%e %b %Y, %H:%M %Z|agohover
Re: yes
RobElliottRobElliott 1263074950|%e %b %Y, %H:%M %Z|agohover

Which text to you mean? If it is the white "Minepedia" text then this can be removed by adding this to your CSS:

#header h1 {
    display:none;
}

but this will also remove the "minecraft" text as that is a background image on the #header h1 rule.


ad5.png
Unfold Re: yes by RobElliottRobElliott, 1263074950|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1263075778|%e %b %Y, %H:%M %Z|agohover

Check http://minepedia.wikidot.com/theme, the logo is stuck on the top left, how do I make it move myself?

Unfold Re: yes by PsychPsych, 1263075778|%e %b %Y, %H:%M %Z|agohover
Re: yes
RobElliottRobElliott 1263076706|%e %b %Y, %H:%M %Z|agohover

I assume it's the "minecraft" text image which you set using the #header-extra-div-1 rule. You can move this further to the right by adding a margin-left property to your CSS as follows. I have just set it to 20% but you could use px, em or % settings to taste:

#header-extra-div-1  {
    background:url("http://minecraft.net/img/logo_small.gif") no-repeat scroll 0 0 transparent;
    height:50px;
    margin-left:20%;
    padding:25px 50px 75px 100px;
    width:270px;
}

ad5.png
Unfold Re: yes by RobElliottRobElliott, 1263076706|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1263076931|%e %b %Y, %H:%M %Z|agohover

Thanks again, I was using padding. XP

Unfold Re: yes by PsychPsych, 1263076931|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1263077135|%e %b %Y, %H:%M %Z|agohover

How about moving it down a little?

Unfold Re: yes by PsychPsych, 1263077135|%e %b %Y, %H:%M %Z|agohover
Re: yes
RobElliottRobElliott 1263079252|%e %b %Y, %H:%M %Z|agohover

Then use a margin-top property but make sure you also use the position:absolute which is important here:

#header-extra-div-1  {
    background:url("http://minecraft.net/img/logo_small.gif") no-repeat scroll 0 0 transparent;
    height:50px;
    margin-top:40px;
    position:absolute;
    width:270px;
}

ad5.png
Unfold Re: yes by RobElliottRobElliott, 1263079252|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1263085232|%e %b %Y, %H:%M %Z|agohover

Well I decided to remove the side-bar, but after I refreshed the theme went blank.
http://www.minepedia.wikidot.com/

Unfold Re: yes by PsychPsych, 1263085232|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1263152028|%e %b %Y, %H:%M %Z|agohover

Do I have to change the theme import?

Unfold Re: yes by PsychPsych, 1263152028|%e %b %Y, %H:%M %Z|agohover
Re: yes
RobElliottRobElliott 1263152755|%e %b %Y, %H:%M %Z|agohover

Sorry, you've lost me, why are you thinking of changing it?

By the way, you have set an image as a background for the header which you've then used as the background for the top-bar. It would be much more efficient just to add the following to your CSS so that you can then use a different image as the background for the header:

#top-bar {
    background-color: #2A2A2A;
}

ad5.png
Unfold Re: yes by RobElliottRobElliott, 1263152755|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1263154123|%e %b %Y, %H:%M %Z|agohover

Nah, I have to change the header and the background of the "place where you type."

I just want to remove the side-bar, but then the theme is back to normal.

Unfold Re: yes by PsychPsych, 1263154123|%e %b %Y, %H:%M %Z|agohover
Re: yes
RobElliottRobElliott 1263154398|%e %b %Y, %H:%M %Z|agohover

To remove the side-bar go to admin:manage -> appearance -> navigation elements and remove the "nav:side" from the side-bar box. Then save.


ad5.png
Unfold Re: yes by RobElliottRobElliott, 1263154398|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1263154737|%e %b %Y, %H:%M %Z|agohover

That's the problem, after I did that, the /theme page didn't work with it.

Unfold Re: yes by PsychPsych, 1263154737|%e %b %Y, %H:%M %Z|agohover
Re: yes
RobElliottRobElliott 1263155790|%e %b %Y, %H:%M %Z|agohover

I'd resigned from the site. Invite me again then promote me to admin and I'll have a look.

But apart from removing the space currently occupied by the side bar, what other changes are you expecting to happen. Everything else with your CSS seems to be working normally.

the /theme page didn't work with it.

It's working with the CSS you have put into the theme page.


ad5.png
Last edited on 1263156356|%e %b %Y, %H:%M %Z|agohover By RobElliott + Show more
Unfold Re: yes by RobElliottRobElliott, 1263155790|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1263160239|%e %b %Y, %H:%M %Z|agohover

Thanks, it's really hard to know which code you need to use.

Unfold Re: yes by PsychPsych, 1263160239|%e %b %Y, %H:%M %Z|agohover
Re: yes
RobElliottRobElliott 1263160554|%e %b %Y, %H:%M %Z|agohover

That's why in a post yesterday I suggested you get hold of Firebug (for Firefox). You do get to remember what rules and properties are used where, but Firebug makes it all so much easier and allows you to try changes and see the result.


ad5.png
Unfold Re: yes by RobElliottRobElliott, 1263160554|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1263249214|%e %b %Y, %H:%M %Z|agohover

How do you remove or move the search box?

Unfold Re: yes by PsychPsych, 1263249214|%e %b %Y, %H:%M %Z|agohover
Re: yes
PsychPsych 1263249496|%e %b %Y, %H:%M %Z|agohover

Nevermind. :)

Reply  |  Options
Unfold Re: yes by PsychPsych, 1263249496|%e %b %Y, %H:%M %Z|agohover
Add a New Comment
page_revision: 31, last_edited: 1249237628|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.