tree: a white bunny with brown markings, one ear up and one down ([else] oh bunneh)
[personal profile] tree
This is one of those questions I feel I should be able to answer myself, but I've searched in various places and come up empty.

In a stylesheet, is it possible to define some custom icons for user links and have others be the system default? At present I'm using custom icons for Dreamwidth users and communities, but external service users' links have no icons; there's just a blank space where the stylesheet specifies the image height and width, etc. So either there's something I need to change in my existing CSS or I need to add the location of all the other icons. But I don't know what they are since doesn't allow directory listing (which makes sense), and I can't find a list of all the image file names.

I should add that I'm using a stylesheet made by [personal profile] sarken that I've modified mostly through trial and (much) error because no matter how hard I try my brain just refuses to grasp this stuff.

CSS under the cut )

Please help my scrambled brain?
maytakecenturies: (Default)
[personal profile] maytakecenturies
Hi! I'm hoping someone will have more experience with this than me...I found a great layout on Insanejournal, and I've been trying to apply it to this journal on DW with absolutely no luck. Ironically, I thought the hard part would be finding the source code for IJ's base Generator layout, but that was easy enough - I was able to compile it as an S1 layout thanks to IJ posting the source code.

However, the layout - code here, along with a preview of what it should look like - isn't compatible right off the bat. I have some experience with CSS, but I haven't used Span and Div IDs and Classes in layout CSS before, so I'm not sure how to translate this properly, or if it can be. I've already spoken with the layout's creator, and unfortunately s/he doesn't have any DW experience and doesn't know how to make it work over here.

Does anyone have suggestions? I would be eternally grateful!
redcinematics: (Default)
[personal profile] redcinematics
Hi there! I'm currently using a ported version of Smooth Sailing and, since DW's retired the .bml aspect of links, I'm having trouble fixing my style to go to my userpics. It's been ages since .bml was retired, and this was one of my back-burner projects, but now that I'm fiddling with it I can't seem to figure out what values to stick in there!

My problem can be accurately summed by visiting my journal and clicking on my default userpic. I'm able to find the instances of allpics.bml in the ported sheet (three) but fixing it, well.. no luck so far! Any tips will imputed for test ASAP. =)

Solved! See comment! =)
jana: [Naruto] Sakura (Default)
[personal profile] jana
Since the latest code push it's possible to embed web fonts in your stylesheet via the style wizard. What is the corresponding property if you want to set it in a theme layer? I'm working on a layout but don't use it as my journal style (which means I can't use the wizard).


Mar. 20th, 2012 02:28 pm
infini: (Default)
[personal profile] infini

I realised that with DW layouts, the journal title does not appear as the page title. I was wondering if there is a way to make the journal title the title of the page as well?

Also, I tried adding a favicon to a community that is using Tabula Rasa and it doesn't work? It seems to be working for my other comm that is using an imported LJ style (Flexible Squares)... Is there a way around this?

Thank you!! :)
matgb: Artwork of 19th century upper class anarchist, text: MatGB (Default)
[personal profile] matgb
OK, this one is beyond me. I can't figure out how the styles system creates different stylesheets, let alone how to tell it to do multiple different ones.

Specifically, I want to have a different sheet for screen media as well as one for all users (ie colourscheme goes for everyone, but put this box next to that one should be for computer displays, not mobile devices and similar).

Wordpress does this for the complete stylesheet:
link rel="stylesheet" href="" type="text/css" media="screen"

But I want to do it in different sheets, this is partially for bandwidth purposes (my mobile contract has a large, but limited, DL limit) but also because some mobile devices and browsers get really confused by all-in-one stylesheets, Opera Mobile tries to ignore stuff it knows won't display properly (but can't always manage it, Blogspot blogs are worst for this), but a Palm Pre, I'm told, will try and put everything in the right place and shrink it, making DW unusable with styles on for a such a device.

So, two questions, one, how does the Styles system know which bit of the layer should create a separate sheet. Two, how do I figure out what the URL would be for each separate sheet in order to embed them for display properly?


Jun. 3rd, 2010 06:37 pm
snakeling: Statue of the Minoan Snake Goddess (Default)
[personal profile] snakeling

Hi! Is there a way to put custom CSS in a separate stylesheet hosted on (I don't want to link to an external file)? I've tried about all the functions available in Core2, but they all dump the CSS in every page header instead of sensibly linking to a file you can cache.

I know it's possible on LJ, using function print_stylesheet (), but it seems it was scraped off when S2 was overhauled.


zvi: self-portrait: short, fat, black dyke in bunny slippers (Default)
[personal profile] zvi
I got the css I wanted to work correctly on Tabula Rasa. see the style live and view user layer source

Now, I'm trying to convert it to a layer and a theme (view style live

If I want the Tabula Rasa stylesheet, do I need to copy and paste that directly into the stylesheet in the layout layer? I used function print_stylesheet () { to include the stylesheet because I thought that would call the Tabula Rasa stylesheet, but it doesn't seem to be working.

branchandroot: oak against sky (Default)
[personal profile] branchandroot
So let us suppose that I'm making a theme for a layout that already uses the print_stylesheet function (a theme for Modish, in the event). Let us further suppose that I want to add a little bit of css to this theme without copying the whole inherited stylesheet just to change one line. Does anyone know of a good way to do this?


Dreamwidth style system discussion

January 2017

8 910 111213 14
15161718 192021
222324 25262728


RSS Atom

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 27th, 2017 08:24 pm
Powered by Dreamwidth Studios