Skip to main content
Topic: Few queries in Theme (Read 1791 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Few queries in Theme

I a beginner who started to style themes and i choose ElkArte default to do it. I tried adding my own menu navigation and it screwed up the forum structure and i don't know how to use if logged in show menu (administration).

Here is a screenshot of the sample.



Re: Few queries in Theme

Reply #1
A question without context is difficult to answer. ;)
What did you change?
Bugs creator.
Features destroyer.
Template killer.

Re: Few queries in Theme

Reply #2
 :-[ I added,


<ul>
  <li><a class="active" href="/">Home[/url]</li>
 
  <li><a href="/index.php?action=mentions">Mentions[/url]</li>
  <li class="dropdown">
    <a href="#" class="dropbtn">Messages[/url]
    <div class="dropdown-content">
      <a href="/index.php?action=pm">Read Messages[/url]
      <a href="/index.php?action=pm;sa=send">Send Messages[/url]  
    </div>
  </li>
<li class="dropdown">
    <a href="#" class="dropbtn">Posts[/url]
    <div class="dropdown-content">
      <a href="/index.php?action=unread">New Posts[/url]
      <a href="/index.php?action=unreadreplies">New Replies[/url]  
    </div>
  </li>
<li><a href="/index.php?action=memberlist">Members[/url]</li>
<li><a href="/index.php?action=login">Login[/url]</li>
</ul>


and the respective CSS for it.

Re: Few queries in Theme

Reply #3
Okay, let's do a step back.
Actually, let's do a couple of steps back.
First: how do you make a "good" question (i.e. one that can get an answer in a reasonable amount of time)?
1) You describe the most accurately possible what you do.
That's all.

With the informations you have given up to now I can only say that some of your css changes the display property of some elements.
I cannot be more specific not knowing what css is involved.

Also, where did you actually put the menu code?
Bugs creator.
Features destroyer.
Template killer.

Re: Few queries in Theme

Reply #4
I apologize for my noobness, i think you can close the thread. As i think i won't be able to convey better. I leave themes to the expert hands :D

Re: Few queries in Theme

Reply #5
Well, learn is not a process where you try once and when you are asked to give more details you give up and do something else.
But I guess it's your call here. ;)

My words above may look a bit harsh, but with CSS I'm as good as a blind donkey, so I cannot guess what you did wrong without knowing what you put there.
You may have added some:
Code: [Select]
.someclass {
display: inline-block;
}
and that may be the thing messing up everything.
But from here on, either you give the full CSS you added, of you have to figure out what is causing the mess.
Bugs creator.
Features destroyer.
Template killer.

Re: Few queries in Theme

Reply #6
@IndianTalkZone ,

1. Attach the original of CSS file you modified

2. Give the code your replaced. ie, what you replaced ( line no. from - to ) and the replacement code.

Re: Few queries in Theme

Reply #7
Kindly forgive my stupidity :'( , i once again try coding again from the scratch and ask queries with all the codes and script attached.
I will also make sure, whether i made the question clear, provided the codes.


 

Re: Few queries in Theme

Reply #9
Try something is not stupidity. ;)
 emanuele tries a lot of things every day and most of them fail miserably... xD
Bugs creator.
Features destroyer.
Template killer.