![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Hello all, I'm back with another couple questions.
Google tells me that turning a header image into a link isn't possible in CSS without having HTML code to go with. Since DW uses CSS stylesheets for layouts, I'm not sure how to do what I want. Or if it's even possible.
What I'd like is to turn the header image in this journal into a link that takes one back to the main journal page when clicked from say, an entry or the archive page, etc.
Can I achieve this with a custom layer? If so, what type of layer? I have no idea how to edit layers. I can copy/paste/apply and that's about it.
Also, is it possible to add a 'back to top' link at the bottom of entries if it's not part of the journal's style?
The base journal theme being used is Basic Boxes and the maker of the layout said to just choose whichever from the list, so right now it's 'Green' by branchandroot. The unedited layout CSS is at the maker's journal, here.
My edited CSS code (which is a complete mess where I've added to the original), is as follows:
Any help is greatly appreciated.
Google tells me that turning a header image into a link isn't possible in CSS without having HTML code to go with. Since DW uses CSS stylesheets for layouts, I'm not sure how to do what I want. Or if it's even possible.
What I'd like is to turn the header image in this journal into a link that takes one back to the main journal page when clicked from say, an entry or the archive page, etc.
Can I achieve this with a custom layer? If so, what type of layer? I have no idea how to edit layers. I can copy/paste/apply and that's about it.
Also, is it possible to add a 'back to top' link at the bottom of entries if it's not part of the journal's style?
The base journal theme being used is Basic Boxes and the maker of the layout said to just choose whichever from the list, so right now it's 'Green' by branchandroot. The unedited layout CSS is at the maker's journal, here.
My edited CSS code (which is a complete mess where I've added to the original), is as follows:
Any help is greatly appreciated.
no subject
Date: 2015-03-21 07:20 am (UTC)#footer {
display:none;
}
Turning the header image into a link probably will require using s2 (in a custom theme layer) - I haven't seen it done since my time on LJ, where certain style communities would bake up s2 to do everything from image maps (still by far my favorite way to linkify a header) to simple image links. Hopefully one of the more s2-inclined people will see this post and offer help with that; I have to just stick to what I know. :)
no subject
Date: 2015-03-21 07:38 pm (UTC)Header image link
Date: 2015-03-28 07:59 pm (UTC)You need to create a new layer. Go to "Customize style", click "Developer area", click "Your layers". Create a top level layer of the "layout" type. Go to "Public layers", click "Basic boxes", click "Raw source code" and copy the entire page.
Return to your newly created layer, click edit and paste what you copied.
Then search for:
and replace it with this:
Click "Save and compile".
Then go to "Select style", click "Your custom layers" and apply your new layer.
Now you have to install your layout on the new layer. Follow the original instructions from no.2 to 4.
After you apply the css, there are a few changes to make. First search for #journaltitles-container{ and replace its content:
#journaltitles-container{
font-family: 'Josefin Sans', Helvetica, sans-serif;
width:756px;
height:223px;
background:url(http://i57.photobucket.com/albums/g223/lauchlen/Millaje/headerwide_1.jpg)
no-repeat #7f6f4b;
}
then delete the background from #header > .inner:first-child and the height from .module-section-header.
I tried this and it worked for me. Let me know if you have any trouble. Sorry, I don't know a simpler solution and I hope this isn't too confusing.
Re: Header image link
Date: 2015-03-30 03:48 am (UTC)Again, thanks so much.
Re: Header image link
Date: 2015-03-30 07:24 pm (UTC)Re: Header image link
Date: 2015-03-31 09:13 am (UTC)