PDA

View Full Version : How to edit both menu's?


Skaiya
03-29-2014, 10:20 AM
Okay so I understand you have to edit:

style-city.css
menu.css
the header.tpl and template.tpl

But.. I can't seem to get it right ;-;

What I want is to have the sidebar menu to be on the right instead on the left.
Though if I change that I automatically bring the whole content to the right.
And with being on the right I mean that it is not attached to the content.
Just a single sidebar on it's own.

As for the drop down menu I'd like it to be under the title.
I can move it downwards but then I put the whole page down. I fixed this now!

It's not that I don't understand css but I have no idea what edit here to get it right.

Hall of Famer
03-30-2014, 01:47 PM
Well what do you want your menu to look like? For the CSS, just edit menu.css is sufficient. To change its contents, you do this in Admin control panel. If you want it to look totally different, you probably want to open class_menu.php and edit everything there. This will require some PHP programming experience though.

Skaiya
03-30-2014, 02:45 PM
I see, well I am glad how the dropdown menu is now.

Just for the sidebar I want it not to be attached to the content and be a sidebar on it's own on the right.
I'll take a look at class_menu then.

Hall of Famer
03-31-2014, 07:14 AM
umm i still dont understand what you want with the sidebar, is there a way you can draw a concept art of how you want the sidebar to be displayed?

Skaiya
04-01-2014, 10:30 AM
umm i still dont understand what you want with the sidebar, is there a way you can draw a concept art of how you want the sidebar to be displayed?

http://i1287.photobucket.com/albums/a634/Skaiyra/screen_zps15e5fae1.png

I hope I drew it understandable.

IntoRain
04-01-2014, 01:38 PM
class_sidebar.php contains the contents displayed on the sidebar. To edit its css, it's inside the id #menu and it's a class .sidebar, so you can change its css in any .css file you are using (mind the order, so it can override previous styles).

Also, the sidebar and the content on the right are in a table, so making it float right won't work. If you want to change this/invert their positions in the table, edit the template.tpl file (knowing that {sidebar} represents the whole sidebar, the same applies for the other objects represented like that, you will figure it out once you open the file)

Skaiya
04-01-2014, 03:03 PM
class_sidebar.php contains the contents displayed on the sidebar. To edit its css, it's inside the id #menu and it's a class .sidebar, so you can change its css in any .css file you are using (mind the order, so it can override previous styles).

Also, the sidebar and the content on the right are in a table, so making it float right won't work. If you want to change this/invert their positions in the table, edit the template.tpl file (knowing that {sidebar} represents the whole sidebar, the same applies for the other objects represented like that, you will figure it out once you open the file)

I tried changing the table but I screwed the whole template doing so.
I'll take a look at it one more time.
Though thanks for telling me which files to use C=