hello , i'm trying to add a line of words infront of {menu_Content} on simplicity
but when i do it kicks it to the line above , with {menu_content} below it,
where do i look to edit {menu_content}
i also need to add some spaces to {menu_content} cause my links are running togheath under 2 of them, thank you - Cagalli
{menu_content} can be generated a couple of ways. This wiki article talks about them: https://efiction.org/wiki/index.php5?title=How_to_change_the_site_menu
Yes , Lyndsie thats how to add to the {menu_content} array , but dosen't show the code behind it ( where i need to add the space) or why it;s forcing the text i'm adding to the line above it.... ( or adding {menu_content) after on a newline) , but thank you for the reply
I'm not familiar with the Simplicity skin. Where did you download it from? Can you link to the site so we can see the problem?
http://sylvia.the-hatta.com/efiction/index.php is the site, and the skin came with the default package...
The skins that come with eFiction v 3 are Elegance, CSSZen, and Zenlike. Looks like Simplicity was made by the Tonya given in the credit link at the bottom of the page: http://nameless.fengurl-dreams.com/layouts.htm. Can you paste in your site's specific variables.php? It looks like that's where the menus are defined, but yours has different links than the default Simplicity skin.
$blocks["menu"]["content"] = array (
0 => 'Fanfiction:',
1 => 'home',
2 => 'register',
3 => 'login',
4 => 'logout',
5 => 'help',
6 => 'contactus',
7 => 'challenges',
8 => 'tens',
9 => 'search');
thats {menu_content} var...
What are you trying to do? Something like:
Menu: Home
Search
Browse
And it's putting out something like:
Menu:
Home
Search
Browse
That's because the {menu_content} in that skin is set to output as an unordered list. The list is displayed as a block which by default has margin. There's no simple solution for what you're wanting.
BTW, filling out the support request template stickied at the top of the forum is always a good idea when asking for help. At the very least we usually ask for a link to your site so we can see the issue ourselves.
Also, if you want a good search engine ranking for your site that skin might not be a good one to use. It uses tables for formatting the page which lower your search engine ranking.
whats were trying to do is:
Fanfiction: Home Register Login
so on so fourth ... and add a space between home and register, because they run togeather...
So you're trying to turn the vertical menu horizontal? You're probably going to have to edit the skin's variables.php and change the 'style' for the menu block from 1 to 0.
$blocks['menu']['style'] = 1;
Then you're going to have to change the style.css to make the new format work right.
the array already prints out on a single line what i want to do ia add " FanFiction" in front of it and add spaces... refer to the link to it to see.....
This looks nothing like any of the provided skins. However, viewing the source tells me you need to set your menu div to inline display in your CSS.
#menu {
display: inline;
}
You've also got some funky spacing in the names of your links (Home, Login, etc.) If you were trying to space out the links, that's not going to work. You need to add margin to the #menu A declaration in the CSS.
The css currenly has this :
[code
]#menu {
}
#menu li {display: inline;}
#menu ul {
list-style: none;
display: block;
}
Does that help any ?
Yes, I already told you what to change it to.
There is no #menu A declaration in my CSS file. And I also tried it in the menu part that i do have and it still didn't work.
