Page 1 of 1

Change text size in NavBar in 3.0.2.0

Posted: Sun Jan 13, 2019 1:53 am
by watchlinkadmin
I'm trying to add a blog to my navbar which I can do but when I do this text appears over two lines and it looks bad. So I was going to make the text smaller or move it all down so it appears over one line. I've been trying for over three hours and cant figure it out.

The website is TheWatchLink.co.uk and I want ad the blog at the end of the bit that says "Home, Accessories, Straps & Clasps, Watch Boxes, Watch Links, Watches".

The code section at Design/Them Editor/Common/ Header.twig is-

<!DOCTYPE html>
<!--[if IE]><![endif]-->
<!--[if IE 8 ]><html dir="{{ direction }}" lang="{{ lang }}" class="ie8"><![endif]-->
<!--[if IE 9 ]><html dir="{{ direction }}" lang="{{ lang }}" class="ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html dir="{{ direction }}" lang="{{ lang }}">
<!--<![endif]-->
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ title }}</title>
<base href="{{ base }}" />
{% if description %}
<meta name="description" content="{{ description }}" />
{% endif %}
{% if keywords %}
<meta name="keywords" content="{{ keywords }}" />
{% endif %}
<script src="catalog/view/javascript/jquery/jquery-2.1.1.min.js" type="text/javascript"></script>
<link href="catalog/view/javascript/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen" />
<script src="catalog/view/javascript/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<link href="catalog/view/javascript/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,400i,300,700" rel="stylesheet" type="text/css" />
<link href="catalog/view/theme/default/stylesheet/stylesheet.css" rel="stylesheet">
{% for style in styles %}
<link href="{{ style.href }}" type="text/css" rel="{{ style.rel }}" media="{{ style.media }}" />
{% endfor %}
{% for script in scripts %}
<script src="{{ script }}" type="text/javascript"></script>
{% endfor %}
<script src="catalog/view/javascript/common.js" type="text/javascript"></script>
{% for link in links %}
<link href="{{ link.href }}" rel="{{ link.rel }}" />
{% endfor %}
{% for analytic in analytics %}
{{ analytic }}
{% endfor %}
</head>
<body>
<nav id="top">
<div class="container">{{ currency }}
{{ language }}
<div id="top-links" class="nav pull-right">
<ul class="list-inline">
<li><a href="{{ contact }}"><i class="fa fa-phone"></i></a> <span class="hidden-xs hidden-sm hidden-md">{{ telephone }}</span></li>
<li class="dropdown"><a href="{{ account }}" title="{{ text_account }}" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> <span class="hidden-xs hidden-sm hidden-md">{{ text_account }}</span> <span class="caret"></span></a>
<ul class="dropdown-menu dropdown-menu-right">
{% if logged %}
<li><a href="{{ account }}">{{ text_account }}</a></li>
<li><a href="{{ order }}">{{ text_order }}</a></li>
<li><a href="{{ transaction }}">{{ text_transaction }}</a></li>
<li><a href="{{ download }}">{{ text_download }}</a></li>
<li><a href="{{ logout }}">{{ text_logout }}</a></li>
{% else %}
<li><a href="{{ register }}">{{ text_register }}</a></li>
<li><a href="{{ login }}">{{ text_login }}</a></li>
{% endif %}
</ul>
</li>

<li><a href="{{ shopping_cart }}" title="{{ text_shopping_cart }}"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ text_shopping_cart }}</span></a></li>
<li><a href="{{ checkout }}" title="{{ text_checkout }}"><i class="fa fa-share"></i> <span class="hidden-xs hidden-sm hidden-md">{{ text_checkout }}</span></a></li>
</ul>
</div>
</div>
</nav>
<header>
<div class="container">
<div class="row">
<div class="col-sm-4">
<div id="logo">{% if logo %}<a href="../index.php"><img src="{{ logo }}" title="{{ name }}" alt="{{ name }}" /></a>{% else %}
<h1><a href="{{ home }}">{{ name }}</a></h1>
{% endif %}</div>
</div>
<div class="col-sm-5"> </div>
<div class="col-sm-3">
{{ search }}</div>
{{ menu }} </div>
</div>
</header>



Any help would be greatly appreciated.

Re: Change text size in NavBar in 3.0.2.0

Posted: Sun Jan 13, 2019 4:10 pm
by xxvirusxx
watchlinkadmin wrote:
Sun Jan 13, 2019 1:53 am
So I was going to make the text smaller
From stylesheet.css

Re: Change text size in NavBar in 3.0.2.0

Posted: Sun Jan 13, 2019 7:00 pm
by watchlinkadmin
xxvirusxx wrote:
Sun Jan 13, 2019 4:10 pm
From stylesheet.css
How do if find "stylesheet.css" ?

Re: Change text size in NavBar in 3.0.2.0

Posted: Sun Jan 13, 2019 7:21 pm
by xxvirusxx
Did you search in theme?

Code: Select all

<link href="catalog/view/theme/default/stylesheet/stylesheet.css" rel="stylesheet">

Re: Change text size in NavBar in 3.0.2.0

Posted: Sun Jan 13, 2019 7:37 pm
by watchlinkadmin
xxvirusxx wrote:
Sun Jan 13, 2019 7:21 pm
Did you search in theme?

Code: Select all

<link href="catalog/view/theme/default/stylesheet/stylesheet.css" rel="stylesheet">
When I click on "Catalog" in dashboard it expands to show "Categories, Products, Recurring Profiles, Filters, Attributes, Options, Manufactures, Downloads, Reviews and Information". There is no "View" option.

When I type "https://www.thewatchlink.co.uk/catalog/ ... esheet.css" into the address bar I can view code but can't alter it.

I think I should be opening file manager to open a screen that looks a bit like "My computer" in windows but I can't figure out how to do it.

Re: Change text size in NavBar in 3.0.2.0

Posted: Sun Jan 13, 2019 7:56 pm
by xxvirusxx
lol dude....

Go to FTP in "catalog/view/theme/default/stylesheet/".....not opencart admin

Re: Change text size in NavBar in 3.0.2.0

Posted: Sun Jan 13, 2019 8:03 pm
by watchlinkadmin
xxvirusxx wrote:
Sun Jan 13, 2019 7:56 pm
lol dude....

Go to FTP in "catalog/view/theme/default/stylesheet/".....not opencart admin
Thank you for your reply. There is something very basic I'm not getting here. How do I go to FTP in "catalog/view/theme/default/stylesheet/" ? What is catalog/view/theme/default/stylesheet/? Where is it? How do I get it?

Thank you for your help.

Re: Change text size in NavBar in 3.0.2.0

Posted: Sun Jan 13, 2019 8:05 pm
by xxvirusxx
watchlinkadmin wrote:
Sun Jan 13, 2019 8:03 pm
How do I go to FTP in "catalog/view/theme/default/stylesheet/" ?
How you have installed opencart?

Re: Change text size in NavBar in 3.0.2.0

Posted: Sun Jan 13, 2019 8:12 pm
by watchlinkadmin
xxvirusxx wrote:
Sun Jan 13, 2019 8:05 pm
watchlinkadmin wrote:
Sun Jan 13, 2019 8:03 pm
How do I go to FTP in "catalog/view/theme/default/stylesheet/" ?
How you have installed opencart?

A web developer made my site. I have never downloaded Opencart. If I download it (does it need to be the same version as I can't find 3.0.2.0). Can I link the site to the editor and edit it from home?

Re: Change text size in NavBar in 3.0.2.0

Posted: Sun Jan 13, 2019 8:33 pm
by xxvirusxx
Then tell him to resize you font from website, if you don't know anything.

Re: Change text size in NavBar in 3.0.2.0

Posted: Sun Jan 13, 2019 8:52 pm
by watchlinkadmin
xxvirusxx wrote:
Sun Jan 13, 2019 8:33 pm
Then tell him to resize you font from website, if you don't know anything.
I hired a developer because I was not capable of make a website from scratch and unless I do things from scratch I will keep knowing nothing. I'm trying to understand something I find quite complex instead of asking someone to do it for me.

Re: Change text size in NavBar in 3.0.2.0

Posted: Sun Jan 13, 2019 9:00 pm
by xxvirusxx
You have access in you hosting? If yes, there you have a Cpanel-->File manager....and you can edit any file.
Then add:

Code: Select all

padding: 10px 5px;

Re: Change text size in NavBar in 3.0.2.0

Posted: Mon Jan 14, 2019 7:23 pm
by paulfeakins
watchlinkadmin wrote:
Sun Jan 13, 2019 8:52 pm
I'm trying to understand something I find quite complex instead of asking someone to do it for me.
People spend all day every day for a couple years as an apprentice working in a web agency and still struggle with these things, so it is hard indeed to learn.