Move "Pages" list from sidebar to top | Solved + Updated (new questions)

Post Reply
blablub
Jr. Bludit
Posts: 3
Joined: Wed Jan 25, 2017 10:43 pm
Contact:

Hi,

i just setup a blog with bludit, and i am pretty satisfied so far. I managed to successfully customize the "blogme" theme, e.g. move sidebar from left to right. However, I have a question:

How can i remain "Latest Posts" list (plugin about?) on the right side and move only the "Pages" list from the sidebar to be horizontal at the top above the content?

Regards

EDIT: New status: https://forum.bludit.com/viewtopic.php?f=6&t=874#p3690
Last edited by blablub on Fri Apr 07, 2017 9:24 pm, edited 1 time in total.
User avatar
Torsten_Kelsch
Legend Bludit
Posts: 263
Joined: Thu Aug 27, 2015 10:24 pm
Location: Germany
Has thanked: 4 times
Been thanked: 2 times
Contact:

I am not sure if I understand your question correctly. If you want to move the navigation from the sidebar to somewhere in the top area of your pages, you have to move the following code (or a similar code) in the index.php of your theme:

Code: Select all

<ul>
	<?php
		foreach($parents as $page) {
			echo '<li><a href="'.$page->permalink().'">'.$page->title().'</a></li>';
		}
	?>
</ul>
Just place it where you would like it. Of course you have to change some CSS stuff to make a vertical menu horizontal.
On Error GoTo Bed
blablub
Jr. Bludit
Posts: 3
Joined: Wed Jan 25, 2017 10:43 pm
Contact:

Hey, thanks for your reply. :)

However i have solved this problem on my own. I admit it was a stupid question ;)
Was looking for a fast solution, but sooner or later i would need to dig deeper into the code and understand architecture myself.

Here is the result: https://ratechblog.com/

I wrote a note about this in my blog post at https://ratechblog.com/post/all-set-and-done

I appreciate any feedback, especially for bludit and blogme theme modifications and general content.

EDIT: Related to this i got a new problem with the responsive design on mobiles, is there any way to easily deactivate it, or do i really need to look into it myself? i guess, yes, of course ;)
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

blablub wrote:EDIT: Related to this i got a new problem with the responsive design on mobiles, is there any way to easily deactivate it, or do i really need to look into it myself? i guess, yes, of course ;)
What is not okay with the responsive design?

I have added your blog to the Bludit Directory at

https://bludit-directory.com
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
blablub
Jr. Bludit
Posts: 3
Joined: Wed Jan 25, 2017 10:43 pm
Contact:

Edi wrote:
blablub wrote:EDIT: Related to this i got a new problem with the responsive design on mobiles, is there any way to easily deactivate it, or do i really need to look into it myself? i guess, yes, of course ;)
What is not okay with the responsive design?

I have added your blog to the Bludit Directory at

https://bludit-directory.com
Thank you for adding my site to the bludit directory, i think i have no problem with that. ;)
But you made a typing error in the title with "RAZechBlog", should be "RATechBlog", the URL, although, is correct.

I have the feeling that i need to develop my own theme from scratch...

The problem with (modified blogme theme) responsive design looks as follows:
https://s22.postimg.org/6q4znowup/respo ... ailure.jpg

EDIT:
All solved now. :D

I still appreciate feedbacks and will try to help in case of similar problems, just leave me a note.
Last edited by blablub on Sat Apr 08, 2017 9:43 am, edited 2 times in total.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

The typo is corrected. ;-)

Yes, it's easier to develop a theme from scratch or to modify another theme.

The development is very easy, and there is a documentation for it:

https://docs.bludit.com/en/
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Post Reply