Modern Warfare 3

Started by Akyhne, July 05, 2011, 08:50:50 AM

Previous topic - Next topic

Akyhne

Link to the theme


Support & Comments

Did you like this theme?


A gamer theme as a contribution to the Call of Duty game series.

December 2011:
+ Added SMF 2.1 style drop down menu

For SMF 2.0+ only!

Demo: http://themes.e-debatten.dk

Download: http://themes.e-debatten.dk/index.php?action=tpmod;dl=item18

Mick.


Akyhne


desibees

#3
Nice theme!
I will be using this theme for my website but there are quite few changes i'd like to make so you will see me post in this topic very often.

Anyways....



How do you make ^^ turn into:



so "news" is gone and search bar is centered at top right.


Thanks


I'm the.. Help abuser


Akyhne

Search is already floated to the top right.

desibees

Yea I know but there is news at the bottom and search is at top of the news. I want the news gone and search to be where the news is right now.


I'm the.. Help abuser


Akyhne

And do you want something else where the search is now?

Quote from: desibees on July 12, 2011, 10:57:17 PM
..you will see be post in this topic very often...
You can always ask about graphics  and theme changes at http://www.simplemachines.org/community/index.php?board=34.0

desibees

the be was supposed to be me by the way.
No, I just want to remove the News and move the search in the centre.



I'm the.. Help abuser


Akyhne

You need to put a margin-top on div#upper_section div.news form in index.css then.

Then remove
// Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news']))
echo '
<h2>', $txt['news'], ': </h2>
<p>', $context['random_news_line'], '</p>';

from the index.template.php of the theme.

Akyhne

.. or you can just disable the news in the settings of the theme. Would be easier for you.

desibees

Quote from: Akyhne on July 13, 2011, 12:43:26 AM
.. or you can just disable the news in the settings of the theme. Would be easier for you.

would it automatically center the search box?


I'm the.. Help abuser


Akyhne


desibees

how to center it then (bring it a little down)


I'm the.. Help abuser


Akyhne

Quote from: Akyhne on July 13, 2011, 12:41:15 AM
You need to put a margin-top on div#upper_section div.news form in index.css then.

desibees

Im able to remove the news but im having hard problems bringing it to center. If I attach my index.css, would you be able to do it for me?


I'm the.. Help abuser


Akyhne

In index.css

Find:
div#upper_section div.news form {
     padding-bottom: 10px;
}


Replace with:
div#upper_section div.news form {
    margin-top: 2em;
    padding-bottom: 10px;
}

You'll have to try how much margin needs to be added - only you know and can test.

desibees

#16
Worked fine thanks.


I'm the.. Help abuser


colour

How would I fix this?
Make everything in the menu black
I provide limited support as I am just as clueless as you.

Akyhne


dreadk

Quote from: colour on December 09, 2011, 04:39:12 PM
How would I fix this?
Make everything in the menu black

In index.css, search for

.dropmenu li li.additional_items


And just delete the background condition there, leave blank.

Advertisement: