About Urban Artist

Permalink
Hi,
I would like to ask if there are some one in here who a bit like a pro in coding?

I use the Urban Artist theme on one of my projects. And all in all i'm happy with the theme.
But theres one thing thats annoy my eyes, and that is how the templates are made.

The sidebar and the main frame, is not in a line (i posted a pic)
Do anyone know if, of course its possible, but, how to make them in a line, vertical, instead of placing them different ?

- Thanks..
Hmm, is it legal to ask about changing a theme ?

1 Attachment

 
adajad replied on at Permalink Reply
adajad
Yes, it is legal to change the code in the theme you are asking about.

I haven't had a look at the theme (not downloaded it), but in general the change you need to make is in a file called main.css containing most of the styles for your theme.

Before you dive in and start making changes to the code you should read the following two how-tos to get a better understanding of the workflow and build-up of concrete5 themes:

http://www.concrete5.org/documentation/how-tos/designers/modify-a-p...
http://www.concrete5.org/documentation/how-tos/designers/making-a-t...

My best guess is you have a margin-top set to your sidebar that pushes it down a bit compared to the main body content.
benjaminovervad replied on at Permalink Reply
Hi adajad.
Thanks for fast reply.
I have not a clue to change any of it ;)
- that's the reason I picked the cms system ;) click an go concept.

But I'll try to look at the links you sent to me
Elsewhere I'll try to find some one who have a lot of spare time who would be able to fix it :)
adajad replied on at Permalink Reply
adajad
The fix is probably a two minute job when you have access to all the files.
adajad replied on at Permalink Best Answer Reply
adajad
Actually it was even simpler than that...

I took the liberty to download the theme and noticed the whole 'main' content was inside a paragraph (<p>).

You need to make changes to the following files:

'webroot/packages/theme_urban_artist/themes/urban_artist/default.php'
'webroot/packages/theme_urban_artist/themes/urban_artist/left_sidebar.php'
'webroot/packages/theme_urban_artist/themes/urban_artist/full.php'

In all those files you need to change this:
<p> <?php  
        $a = new Area('Main');
        $a->display($c);
    ?>         
</p>

to this:
<?php  
    $a = new Area('Main');
    $a->display($c);
?>


If you're not comfortable making those changes, then let me know and I can help you out.
benjaminovervad replied on at Permalink Reply
Thank you so much !
It works perfectly !

- Thanks again !


Ben